Commit Graph
59747 Commits
Author SHA1 Message Date
Cédric Krier a2ad9560bb Filter order points using child of operator when supplying with internal shipments 2025-10-25 12:24:03 +02:00
Sergi Almacellas Abellana 60dc754bea Limit implicit locations to the child of warehouses when supplying for internal shipments
Closes #14262
2025-10-25 12:06:20 +02:00
Sergi Almacellas Abellana a0657d1cd7 Only delete requested shipments from the warehouses when supplying internal shipments
Closes #14263
2025-10-25 12:24:26 +02:00
Cédric Krier 0642af4150 Do not migrate the account periods to a strict sequence if there is no sequence
Closes #14308
2025-10-22 12:37:59 +02:00
Sergi Almacellas Abellana 3ad3c37273 Clarify that non deductible taxes apply for supplier invoices 2025-07-29 09:25:00 +02:00
Cédric Krier e9b3a9eed8 Use description used when exporting FEC file
Closes #14255
2025-10-19 17:57:27 +02:00
Nicolas Évrard 58428d09b9 Do not allow translations to be set or exported unless the default language is English 2025-10-24 10:22:38 +02:00
Sergi Almacellas Abellana ab7856ddcd Test if production has warehouse before reading its address
Closes #14307
2025-10-21 18:24:52 +02:00
Cédric Krier 342a7a42f9 Use queue to update sales from Shopify orders
Closes #14274
2025-10-05 17:44:47 +02:00
Cédric Krier 3d6558faaa Do not create Shopify fulfillment orders with a quantity of zero
Closes #14286
2025-10-11 15:06:20 +02:00
Cédric Krier 353deb659f Use sandboxed iframe to display document
The HTML element used to display the document is based on the mimetype.
And by default a sandboxed iframe is used to isolate the unsafe content from
the parent context.

Closes #14290
2025-10-17 14:55:30 +02:00
Nicolas Évrard b5ca5de485 Use && as the boolean operator instead of &
The typo was introduced in d5338ef23267
2025-09-17 11:41:30 +02:00
Adrià Tarroja Caubet 12211186f3 Fix typo in the custom CSS theme path of tryton documentation 2025-09-22 10:24:39 +02:00
Nicolas Évrard 6daccef092 Clarify the documentation about digits 2025-10-09 12:36:54 +02:00
Cédric Krier ecfad8ea81 Return the closest language instance for the code
When the language code is provided by an external source, a best effort
strategy must be used to always return a language.

Closes #14258
2025-09-26 08:45:49 +02:00
Cédric Krier f32669b086 Make each company's party unique 2025-10-01 10:17:22 +02:00
Cédric Krier 90ded6b681 Make the party field read-only for saved companies
Closes #14268
2025-10-01 10:16:47 +02:00
Cédric Krier be7347f600 Add the attributes name field to the sale and purchase list views
Closes #14280
2025-10-07 18:22:57 +02:00
Cédric Krier 4f0c8ada7c Use a MagicMock with a return value when patching ModelStorage copy for testing
Closes #14300
2025-10-19 10:43:23 +02:00
Cédric Krier 1c71eaba67 Construct move key for assignation by converting list to tuple
Instead of creating a new tuple on each field, it is faster to fill a list and
convert it to a tuple at the end.
2025-10-03 16:41:12 +02:00
Cédric Krier 5188badcfc Add support for null ordering on SQLite
The support was added in SQLite 3.30.0
2025-10-08 17:09:29 +02:00
Cédric Krier a772f1915a Limit SQLite version to feature release 2025-10-08 16:59:26 +02:00
Nicolas Évrard f1e71692db Use SQL queries to restore history
Restoring a fields.Dict value failed before using this pure SQL solution.
Also such a solution will be more efficient by minimizing the amount of python
code run.

Closes #14031
2025-05-20 18:28:23 +02:00
Nicolas Évrard 12185cc3bf Test the restoration of history after a DELETE 2025-06-14 03:21:40 +02:00
Nicolas Évrard 90f3c2f030 Compare the default fields used in copy with those of the calling class
Closes #14298
2025-10-17 16:27:11 +02:00
Nicolas Évrard 1492a174c7 Save column width in sao only when it has changed
Closes #14277
2025-10-07 12:42:44 +02:00
Nicolas Évrard 0c6b0399a9 Set default value of src_plural to NULL when setting translations
Adding the new translations to the internal language should set the value of
src_plural to NULL as this is the default value we use when importing from the
PO files. Moreover it might happen that an empty string could be a valid value
for src_plural.

Closes #14289
2025-10-17 10:33:06 +00:00
Nicolas Évrard 2029a9fa71 Skip the validation of the parent field of group
This is required because it can happen that a x2M field will have some records
set through an on_change but if the x2M is not linked to a screen then
exclude_field won't be set.

Closes #14283
2025-10-09 18:50:07 +02:00
Cédric Krier 354139725c Do not allow to change template of existing product
Many models rely on the couple product-template to be immutable.

Closes #14279
2025-10-07 17:42:27 +02:00
Cédric Krier c059af6bed Do not copy incoming documents when copying invoices
Closes #14272
2025-10-02 15:26:34 +02:00
Cédric Krier 0f331ef1fe Make Shopify identifier unique per record and web shop
Closes #14266
2025-09-30 15:55:59 +02:00
Cédric Krier f18165b5fc Add simpleeval as requirement for account statement rule module
Closes #14264
2025-09-30 12:32:05 +02:00
Cédric Krier c3c1b962ed Limit of shopify_orders context to test
Closes #14260
2025-09-29 11:21:39 +02:00
Cédric Krier caf49b463f Implement Array.toReversed when browser does not implement it
The usage of Array.toReversed was added in 9b65bcce3d16.

Closes #14270
2025-10-01 18:48:11 +02:00
Cédric Krier 6f876d10c4 Always try to confirm Shopify sale after creation and update
This is in case there is no transaction/payment to trigger the confirmation.

Closes #14256
2025-09-25 17:32:00 +02:00
Cédric Krier 4b75d20420 Require phonenumbers for testing scenario
The scenario relies on phone numbers format being standardized for comparison.

Closes #14292
2025-10-14 15:40:58 +02:00
Cédric Krier 1e03263529 Add contact mechanism for the phone number from Shopify address
Closes #14253
2025-09-23 18:43:08 +02:00
Cédric Krier 533f57f73a Insert last Shopify contact mechanism as first of its type
Closes #14252
2025-09-23 16:15:57 +02:00
Cédric Krier 9f95b28eaf Add sequence_reorder to model order
Closes #14251
2025-09-23 16:04:29 +02:00
Cédric Krier 9996cd8fde Remove usage of deprecated stripe.error module
Since version 7.8.0 of stripe, the module is deprecated and it was removed in
version 13.0.0.

Closes #14278
2025-10-07 15:21:08 +02:00
Cédric Krier 7e650ffd48 Limit stripe version before 13.0.0
The version 13.0.0 removed the deprecated stripe.error module.

Closes #14278
2025-10-07 15:27:45 +02:00
Cédric Krier ffd42a0fc4 Allow customization of the types of identifiers permitted on the address
Closes #14247
2025-09-19 17:24:36 +02:00
Cédric Krier 4fbf660b85 Add option to notify Shopify customer about fulfillment
Closes #14244
2025-09-18 14:12:16 +02:00
Cédric Krier 53919112df Add tests for __eq__ and __lt__ of Model 2025-09-24 09:29:03 +02:00
Cédric Krier 34056386bb Implement __hash__ on Model using xor 2025-09-24 09:28:39 +02:00
Cédric Krier 2f6b492e8b Remove unnecessary __bool__ implementation on Model
In standard Python already consider object as True if they do not implement
__bool__ nor __len__.
2025-09-24 09:27:26 +02:00
Cédric Krier 0414c1cc7f Remove unnecessary __ne__ implementation on Model
In standard Python already implement __ne__ as not __eq__.
2025-09-24 09:25:49 +02:00
Cédric Krier 382a6e206a Add total ordering on Model
Closes #14254
2025-09-24 09:09:05 +02:00
Maxime Richez 3d99b80027 Add phantom BOM
Closes #11160
2025-10-13 09:41:41 +02:00
Cédric Krier d96260f590 Add party's address to the SEPA mandate
Use explicit address selection to display on the SEPA mandate instead of the
default first address.

Closes #14229
2025-09-14 12:23:08 +02:00