Commit Graph
59823 Commits
Author SHA1 Message Date
Cédric Krier b7ee37bb0a Replace clean_days with log_size in the cron configuration
Closes #14319
2025-10-27 19:20:23 +01:00
Cédric Krier ff2c9f7bc3 Load sub-fields of xxx2Many only for lazy loading
The sub-fields are not needed for eager loading view like the tree because they
are rendered with only the number of records.

Closes #14305
2025-10-21 12:14:04 +02:00
Cédric Krier 6ebc55a14e Add missing depends on currency to the TaxableMixin._round_taxes method
Closes #14348
2025-11-04 10:28:04 +01:00
Cédric Krier 142bb40876 Use short phone format in test scenario
As phonenumbers is not a dependency for the tests, we must use a short format
to not exceed the 20 characters limit.
2025-11-21 22:09:44 +01:00
Cédric Krier 36e7d69b89 Add stock_shipment_customs as requirement for tests 2025-11-21 15:34:30 +01:00
Cédric Krier d089be91ba Remove duplicate changelog entry in DPD shipping 2025-11-21 15:14:08 +01:00
Cédric Krier 8a772ad678 Support DPD international shipping 2025-02-15 22:23:11 +01:00
Cédric Krier 39a79c70ef Support Sendcloud international shipping 2025-02-15 19:27:34 +01:00
Cédric Krier 791d649dde Support UPS international invoice form 2025-02-17 19:01:11 +01:00
Cédric Krier 0796f27fbd Add fields depends to shipping properties 2025-02-15 22:24:49 +01:00
Cédric Krier a33ee46c20 Add stock_shipment_customs module 2025-10-23 17:18:15 +02:00
Cédric Krier b9a3b1405b Add import/export agent for customs 2025-02-01 01:52:03 +01:00
Cédric Krier fb0b92a387 Update to DPD Shipment Service 4.4 2025-02-13 23:47:46 +01:00
Cédric Krier 7e169c1176 Set customs menu as top-level 2025-02-01 01:50:00 +01:00
Cédric Krier 142e06c421 Add incoterm version 2000 2024-11-14 19:03:14 +01:00
Cédric Krier 2cb43f313d Use shipping properties instead of direct field
The properties were added in 682fe06f9774 to provide abstraction between the
different shipments.
2024-11-14 12:50:59 +01:00
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