Cédric Krier
b0335a27b0
Test if contextual company id is positive before using it
...
Closes #13176
2024-04-10 11:25:11 +02:00
Cédric Krier
bf7f66afe6
Set visibility property always to the entry widget
...
When the password widget has autocomplete activated, the entry is a combobox.
Closes #13166
2024-04-05 18:09:19 +02:00
Cédric Krier
b41e204d83
Do not hide visibility checkbox on readonly password
...
Closes #13165
2024-04-05 18:06:23 +02:00
Cédric Krier
8d4fd4ebb6
Fix setting view type attribute on Tab
...
Set nothing if there is no current tab and use the correct attribute to
retrieve the current view type.
Closes #13192
2024-04-11 19:26:13 +02:00
Cédric Krier
de7bd32700
Do not copy products, categories and images to web shop
...
Closes #13161
2024-04-04 15:55:01 +02:00
Cédric Krier
b0d38bd797
Set invoice progress of shipment cost line of sale always as 100%
...
Closes #13160
2024-04-04 15:13:36 +02:00
Cédric Krier
3a25fc0df9
Always return float for invoice or moves progress
...
The fields are Float so they must return a float.
2024-04-04 15:12:21 +02:00
Cédric Krier
07d0a29bdc
Do not accept anymore datetime with null time as date
...
Closes #13135
2024-03-27 12:42:24 +01:00
Maxime Richez
f2353c8f6a
Allocate also shipment cost of 0
...
Closes #13155
2024-04-13 19:13:44 +02:00
Sergi Almacellas Abellana
fc5edbbd8f
Include uom access rule under updatable data
2024-04-03 11:24:04 +02:00
Ahmed AlBoori
844c2b503a
Add scenario to test receivable rules on statement
...
#13063
2024-04-13 18:10:13 +02:00
Ahmed AlBoori
6d57f3498c
Use positional argument when applying account receivable rule
...
The ModelView.button decorator is expected first positional argument to be
named records so we can not use keyword argument in this case.
Closes #13063
2024-03-02 06:11:36 +03:00
Ahmed AlBoori
fbd83cfeb2
Correct Account Receivable Rule Model Name
...
Closes #13063
2024-02-28 23:33:19 +03:00
Nicolas Évrard
a73b28ce96
Check for the existence of a screen before restoring size of wizard's dialog window
...
Closes #12944
2024-04-13 17:42:02 +02:00
Cédric Krier
38037cb8c5
Reset sales to state quotation to avoid duplicate log entries
...
Closes #13159
2024-04-04 12:51:18 +02:00
Cédric Krier
b50911d36c
Do not deduce current payment from the amount of the sale
...
Closes #13157
2024-04-02 16:47:01 +02:00
Cédric Krier
70f068b318
Return False on the callback on readonly window Form
...
When a readonly Form is closed, the callback result should always be False as
the opened record has not changed.
Closes #13156
2024-04-02 16:39:06 +02:00
Cédric Krier
89c1127952
Enforce clearing account type only on draft payment
...
As the receivable, payable type may evolve over time, only draft state should
enforce it.
Closes #13145
2024-03-30 11:32:22 +01:00
Cédric Krier
79e5ab807d
Set posting employee only when using button
...
As the posted by employee field can not be modified once the invoice is
posted, the employee must be set only when it is an action of the user.
On processing the invoice, it is the internal posting method that must be used
so no employee is set nor any other warning checks.
Closes #13124
2024-03-25 10:17:35 +01:00
Cédric Krier
a240337a51
Do not commit new transaction for database error processing
2024-04-02 00:34:25 +02:00
Cédric Krier
0c3f88b776
Wrap transaction description into a single line to store as origin description
...
Since a2f811ed0e99 it is not allowed to store multiline in Char field.
Closes #13123
2024-03-25 00:19:23 +01:00
Cédric Krier
f71e90a7f3
Put gir libraries under lib also for Windows
...
cf5adeee978b did it for darwin but it is also useful for Windows to avoid
duplicate dlls.
2024-03-23 18:17:05 +01:00
Cédric Krier
8f291b76be
Use format from server locale as fallback for date in graph view
...
Closes #13112
2024-03-21 09:47:45 +01:00
Cédric Krier
854efb8216
Use min date as default From Date for start amount of general ledger
...
Closes #12660
2024-03-17 11:36:24 +01:00
Nicolas Évrard
026ae5bff4
Use PYSON's Bool evaluation for PYSON's Not evaluation
...
Closes #13096
2024-03-11 16:35:39 +01:00
Nicolas Évrard
3e06f5043a
Instantiate PYSON.Bool expression with new from PYSON.Not instances
...
Closes #13177
2024-03-11 12:43:53 +01:00
Nicolas Évrard
b346fc23fb
Hide notebooks and groups when they are empty
...
Closes #13070
2024-03-04 17:14:04 +01:00
Cédric Krier
cee75c14a1
Do not distribute residual rounding to tax with 0 amount
...
Closes #13098
2024-03-15 13:16:33 +01:00
Cédric Krier
26f877e8ce
Force scrollbar inside xxx2Many table
...
On Chrome based browsers the min-content of the table inside a xxx2Many widget
is the minimal size to display all the columns.
So when this min-content size is bigger than the width of the tab, it is the
all form that get a scrollbar instead of only the tree view element.
By adding a display grid to the div containing the treeview, the min-content
is not more used by the grid-template-columns of the form-container.
Closes #13050
2024-03-15 09:50:08 +01:00
Cédric Krier
334a554dd6
Add web_shop_product_data_feed module
...
Closes #13069
2024-04-08 17:27:25 +02:00
Cédric Krier
a535c54d36
Add countries for web shop
2024-03-05 10:43:41 +01:00
Cédric Krier
4df4d72f8d
Add Manufacturer Part Number product identifier
2024-03-05 10:42:44 +01:00
Cédric Krier
f003128df6
Add brand product identifier
2024-03-05 10:42:10 +01:00
Cédric Krier
e297a3ad47
Support generate barcode of different type
2024-03-05 10:41:23 +01:00
Cédric Krier
1415713e6b
Explicitly define product identifier from stdnum
2024-03-05 10:40:18 +01:00
Cédric Krier
a4588bd5ac
Add send_file to protocols wrappers
2024-03-05 10:38:33 +01:00
Cédric Krier
8c356b0c27
Support sale price list per web shop
...
Closes #13076
2024-03-06 10:18:37 +01:00
Cédric Krier
2ca33a8e19
Add carrier to list view of customer shipment in stock_shipment_cost
...
It is stock_shipment_cost that adds the field to the shipment so it should be
also added to the view by the same module.
2024-03-25 11:53:41 +01:00
Cédric Krier
4e3027c7a9
Add description and note to opportunity line
2024-03-23 22:51:52 +01:00
Cédric Krier
f0050a6635
Enforce the unit category of opportunity line from the product
2024-03-23 22:43:49 +01:00
Cédric Krier
edd36e67b0
Make product optional on opportunity line
...
Closes #2172
2024-03-23 22:52:15 +01:00
Cédric Krier
7e1272f46b
Use gettext to format access error message when deleting drop shipment
2024-03-18 18:38:39 +01:00
Cédric Krier
9be2860eb7
Support splitting drop shipment
2024-03-18 18:36:08 +01:00
Cédric Krier
e052849c3d
Use split function to add lots on move when available
...
The split function ensures that customer moves of drop shipment are split also
when splitting supplier moves.
Closes #13037
2024-03-18 18:35:22 +01:00
Cédric Krier
e686904520
Split customer moves when splitting supplier moves of drop shipment
2024-03-19 09:22:08 +01:00
Cédric Krier
372c212347
Set only periods or dates on the same line for general ledger context
...
Those fields may become invisible so they should not have any other field next
to them for when they become invisible.
2024-03-17 11:48:43 +01:00
Nicolas Évrard
80ffcdea53
Read xxx2Many fields using the dotted notation
...
Closes #12856
2024-04-07 17:39:13 +02:00
Nicolas Évrard
b973f371c8
Add a contextual read limit for related fields
2024-04-08 13:13:14 +02:00
Nicolas Évrard
c3a7758c5c
Remove the switch-page hack on the notebook
...
The hack isn't used anymore anyway as the test on self.view.widget is always
True since e8ffb2b2e722
2023-12-20 22:00:13 +01:00
Nicolas Évrard
2f29a24c9c
Stop loading fields definition already known by the field
2023-12-18 19:19:39 +01:00