Commit Graph
59807 Commits
Author SHA1 Message Date
Cédric Krier 4cb10fa620 Generate a default shipping description for the shipment
Also for UPS, it fallbacks to "General Merchandise" if the shipping description
is empty.

Closes #14351
2025-11-05 17:18:15 +01:00
Cédric Krier da78b11fca Escape completion content with custom format
Closes #14363
2025-11-20 17:03:46 +01:00
Cédric Krier b2d45c11cd Enforce access check in export_data
As the method is using instances to construct the exported data, the access
must be checked explicitly.

Closes #14366
2025-11-17 12:26:57 +01:00
Cédric Krier f98c5e87d9 Do not display error details if empty 2025-11-12 14:57:12 +01:00
Cédric Krier 95dc47a24f Include the traceback only in RPC responses in development mode
Closes #14354
2025-11-12 14:56:34 +01:00
Cédric Krier 41cc370e99 Enforce access check in HTML editor route
Use .read and .write instead of .browse and .save when editing field via the
HTML editor.

Closes #14364
2025-11-17 10:28:49 +01:00
Cédric Krier 3a4a23c3df Support Belgian structured communication on invoices, payments and statement rules 2025-09-30 00:41:08 +02:00
Cédric Krier e967e80974 Add payment reference to statement rule 2025-09-30 00:11:08 +02:00
Cédric Krier 3c8223a153 Allow customization of the payment reference to use 2025-09-29 15:37:10 +02:00
Cédric Krier 4c03672232 Validate the format of payment references 2025-09-29 15:33:46 +02:00
Cédric Krier 7c90b22b75 Add payment references to invoices 2025-09-30 00:11:31 +02:00
Cédric Krier 67b01f6cc3 Prevent running create quotation wizard from request in not allowed state
Using a button we can prevent to use the wizard on purchase request with a not
allowed state.
2025-11-19 12:22:51 +01:00
Cédric Krier c50d717dd7 Prevent running create purchase wizard from request with purchase line
Using a button we can prevent to use the wizard on purchase request with
purchase line.
2025-11-19 12:22:17 +01:00
Sergio Hervás f6ad52aebc Allow creating quotation from purchase request in received state
Closes #12630
2024-03-17 12:27:03 +01:00
Cédric Krier d4c6400c26 Include the line in the warehouse required error message for sale and purchase 2025-10-30 01:14:10 +01:00
Xavi Hermoso 4ae463d725 Improve stock level help message of purchase request 2025-11-18 00:09:52 +01:00
Xavi Hermoso 020931eef5 Add documentation to purchase request stock level
closes #14317
2025-10-27 10:13:33 +01:00
Hartmut Goebel 6cb77c6da9 Document gis fields 2025-11-18 00:35:27 +01:00
Cédric Krier 2e03f6cf94 Set currency field when creating invoice tax via on_change
This is needed to get the client format correctly the field using the currency
as digits.

Closes #14346
2025-11-04 10:25:02 +01:00
Cédric Krier e5b29042d8 Force reload on save of record
07831c6eddaf implemented the default value as `false` but in tryton it has
always been `True` since b8658ba902a5.
Some save calls relies on the record being reloaded like in the editable tree
when selecting another row.
This synchronise the behavior of all save calls between tryton and sao.

Closes #14345
2025-11-03 11:16:05 +01:00
Cédric Krier 4b9ec5939e Set TRYTOND_APPNAME and TRYTOND_TZ only if they are not set or empty
Closes #14322
2025-10-31 12:11:02 +01:00
Cédric Krier bee92b80fc Replace party on account statement origin
Closes #14282
2025-10-31 11:45:54 +01:00
Cédric Krier 59184cdfdd Add a default Incoterm to web shops
The default Incoterm is set by default to sale from web shop for which it is
required.
And the shipment address is also set by default as Incoterm location when it is
required.

Closes #14337
2025-10-31 11:57:19 +01:00
Cédric Krier 62a54d655f Set shipment cost method to order for sale from web shop
Closes #14336
2025-10-30 10:23:35 +01:00
Cédric Krier fe7bff23f8 Set Belgian account 406 as debt
Closes #14320
2025-10-27 15:52:04 +01:00
Cédric Krier 20a9ffce1c Set Belgian account 360 as debt
Closes #14321
2025-10-27 15:51:10 +01:00
Cédric Krier 66b0738f2e Set a default value when calculating clearing reconcile of a payment group
Closes #14301
2025-11-02 16:53:22 +01:00
Sergi Almacellas Abellana ccb48987be Update documentation of purchase request quotation 2025-11-17 12:44:45 +01:00
Sergi Almacellas Abellana e095f0fa92 Open purchase requests for quotations created from wizard
Closes #12927
2024-01-12 11:46:55 +01:00
Cédric Krier c33886a989 Update documentation of purchase request 2025-11-11 18:00:55 +01:00
Cédric Krier 4a17e80070 Use the fastest product supplier when anyone can supply on time
Closes #12806
2025-11-11 18:04:50 +01:00
Cédric Krier a735ea7a2b Make target ids unique when reading related fields
The result is converted into a dict based on the id so we must ensure that the
ids read are unique in case the same id appears after size limit.

Closes #14304
2025-10-21 12:07:40 +02:00
Nicolas Évrard 47efd4dba1 Use the local context when launching a graph_open action
Using the local context allow us to access the context of the field shown by
the graph when the graph shows a One2Many field.

Closes #14341
2025-10-31 18:04:31 +01:00
Nicolas Évrard 10ee881e65 Return the data name as the action key when launching the graph_open action
The ids of each record is in fact indexed by the name of the label in a pie
chart

Closes #14340
2025-10-31 18:02:26 +01:00
Cédric Krier 6c7e903226 Test from location when checking warehouse for purchase line with negative quantity
Closes #14333
2025-10-30 01:11:22 +01:00
Cédric Krier 0d5caa58e7 Use line's movable property to require incoterm
Closes #14332
2025-10-30 00:59:07 +01:00
Cédric Krier e97cd24ec2 Remove the first view_ids when opening the Many2One target from tree view
Closes #14328
2025-10-28 17:19:38 +01:00
Cédric Krier 0e5d2fc391 Use the view_ids attribute to open the Many2One target from tree view
Closes #14327
2025-10-28 17:17:31 +01:00
Cédric Krier 1f6403ba78 Use revenue account when the asset value increases or residual value is positive
Closes #14311 #14312
2025-10-23 19:23:09 +02:00
Cédric Krier 07fc626588 Hide all payment fields and buttons when using a different process method
Closes #14310
2025-10-23 18:24:26 +02:00
Cédric Krier b696fdadac Set column width only when the tree view is initialized
The column width should not be calculated on each display because a custom
width may have been applied by the user which is not yet saved.

Closes #14309
2025-10-22 18:57:34 +02:00
Cédric Krier 2b6880e12e Use mouse events instead of drag/drop events to resize column
On drag/drop events some browsers automatically scroll the container to make
the dragged element visible.

Closes #14306
2025-10-21 17:31:22 +02:00
Cédric Krier 817936ef58 Fallback to id as record name when _rec_name value is empty
It happens that the _rec_name is not required so a fallback value is needed to
ensure to always have a name for the record.

Closes #14275
2025-10-21 12:18:02 +02:00
Cédric Krier a9ce6df05d Escape record name used in testing regex 2025-10-21 13:13:23 +02:00
Cédric Krier 1299094185 Use list price used of product to calculate the dunning fee
Since 117e51123978 the multi-value list price field is also defined on variant
and it may be None. The list price used must be used instead.

Closes #14344
2025-11-01 13:04:15 +01:00
Cédric Krier a21df22391 Use list price used to fill unit price on stock move in test scenario
Since 117e51123978 there is a list price field on the variant which is empty.

Closes #14343
2025-11-01 11:10:56 +01:00
Sergi Almacellas Abellana 3eed891976 Fix typo in intrastat_declaration when cancelling moves
Closes #14331
2025-11-02 14:33:49 +01:00
Nicolas Évrard 8b89c1882b Do not use the bus URL when creating the XML-RPC authentication token
Since 5af8d41ce7ce we're also sending the bus URL on the login of the users.

Closes #14329
2025-10-28 18:50:24 +01:00
Nicolas Évrard f70d515905 Add a clear cache method to the Database
ExtensionTestCase uses this new method to clear all the caches of the Database.
2025-10-28 10:57:07 +01:00
Nicolas Évrard 3850af11f7 Find new key names using the definition from the dict widget's field
Closes #14323
2025-05-22 18:24:57 +02:00