Commit Graph
59766 Commits
Author SHA1 Message Date
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
Cédric Krier 1f8d64b3dc Group invoice and shipment also per sale line component as origin
Closes #14302
2025-10-20 18:11:09 +02:00
Cédric Krier 6e1d98779a Make the number of bank accounts required
The number is the record name so it must always be filled.

Closes #14297
2025-10-17 14:08:46 +02:00
Cédric Krier b84bec1dcf Use list price used to calculate unit list price on point of sale 2025-10-17 17:27:27 +02:00
Cédric Krier c36128f264 Use list price used to calculate the base price of sale discount
Closes #14288
2025-10-13 18:32:01 +02:00
Cédric Krier 6e47bcfc55 Accept email without content as incoming document
It allow the creation of incoming document without data as long as it has
children. This supports the case of email without text nor HTML content but
only an attachment.

Closes #14109
2025-10-17 14:51:15 +02:00
Cédric Krier dd5baea23a Document the scheduled task to assign shipments and productions 2025-10-21 13:35:04 +02:00
Cédric Krier 00e52f4a43 Update anchor for if-then-else link on Wikipedia
Closes #14267
2025-10-01 08:45:36 +02:00
Cédric Krier 645cdbd65e Improve dunning overdue help text 2025-09-15 16:25:52 +02:00
Cédric Krier cf1ce07e9b Fix parameter name for check_modification in the documentation 2025-07-31 23:47:59 +02:00
Cédric Krier 4622a4d104 Test stock internal supply with and without warehouses 2025-10-25 13:07:25 +02:00
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