Commit Graph
59776 Commits
Author SHA1 Message Date
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
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