Commit Graph
59595 Commits
Author SHA1 Message Date
Cédric Krier 29bec2e028 Prepare release trytond-7.0.41
--HG--
branch : 7.0
2025-12-17 19:11:18 +01:00
Nicolas Évrard 4abd78c9c7 Search on the Target model in O2M when it has an active field
When comparing a one2many to None we should search on the Target model in order
to ensure the correct handling of the active field. Otherwise there might be
records that wouldn't be found by the search yet their one2many fields come up
empty.

Closes #14370
(grafted from 715161fe8b3351072d7a52e698c95e75269b06a9)

--HG--
branch : 7.0
2025-11-14 18:11:20 +01:00
Nicolas Évrard 78e755fac0 Use the target id to compute the filter clause of a O2M field compared to None
Closes #14373
(grafted from 6b5e31b69ae62dabb2ad3253d9018945a467dbf1)

--HG--
branch : 7.0
2025-12-13 14:57:52 +01:00
Cédric Krier efb8a5904b Use the right primary column name for PostgreSQL database method
On history table the primary column is `__id` instead of `id`.
(grafted from a268eb84245222f554f16b0cdc0e0b065b647724)

--HG--
branch : 7.0
2025-12-13 14:33:42 +01:00
José Antonio Díaz Miralles 3f6bd1f61e Ensure that the computed traces of a stock move have a lot
For example the production module may include input or output moves without
lot.

Closes #14396
(grafted from aa1bb0828ed19d9612d40b4fa2a242178edc54ec)

--HG--
branch : 7.0
2025-12-13 12:56:46 +01:00
Cédric Krier e62e7d92c5 Fix domain parser for Reference field when there is no value but a target
Closes #14413
(grafted from 332b8107a181f3c14e0e3c39eed393bab0cc619b)

--HG--
branch : 7.0
2025-12-14 20:18:25 +01:00
Cédric Krier 3fb3f840c9 Limit editable tree click event to the tab
This permits the navigation between tabs.

Closes #14393
(grafted from 9fe27176548921f8d056f006940256a68472ef42)

--HG--
branch : 7.0
2025-11-26 21:34:50 +01:00
Cédric Krier 0a46153971 Round moved quantity before compare to 0
As moved quantity is the sum of float, it may carry rounding issue so it must
be rounded before comparison.

Closes #14386
(grafted from 760368f8aa28083ad69311ce0f424c0de3d54b3d)

--HG--
branch : 7.0
2025-11-25 18:38:51 +01:00
Nicolas Évrard 1e81f0bd5c Filter Many2Many group fields on active = True
When the field is used in a domain adding this filter ensure that comparison
with None will succeed when there are only inactive groups in the field.

Closes #14369
(grafted from 6ec84dbcdde99641b803ebcdfee5aaa0edf9f548)

--HG--
branch : 7.0
2025-12-03 08:47:20 +01:00
Cédric Krier 15c9e27dd1 Make icon badge independent of the view box of the SVG
(grafted from 7173c77acabbd6f8d9af4412d20b18d701e591dd)

--HG--
branch : 7.0
2025-12-02 13:39:07 +01:00
Nicolas Évrard b500e30a5b Allow to use empty ModelList in Wizard
We might want to execute the wizard on a specific model even without selecting
some of its records

Closes #14291
(grafted from 93ccf0b37bb2fcf18a44ef13e37b6029487b9f62)

--HG--
branch : 7.0
2025-10-16 16:07:52 +02:00
Cédric Krier de31a7c55c Keep sale line removed from Shopify order
It is not allowed to delete a sale line if the sale state is not draft or
cancelled.

Closes #14376
(grafted from 02d1fb1eaefe00ba07037e70ce0827530c513546)

--HG--
branch : 7.0
2025-11-20 10:14:13 +01:00
Cédric Krier 0d7fe2d02e Do not prevent to process sale line without product and quantity from Shopify
When a line is removed on Shopify, the quantity of the sale line is set to 0 in
Tryton because Shopify refund the line.
So such line without product must not prevent to process the sale as they will
not generate any stock move nor invoice line.

Closes #14375
(grafted from bbd807ca4b87dc0470bd5f3db69681e7371c6d13)

--HG--
branch : 7.0
2025-11-20 10:10:27 +01:00
Cédric Krier b54654ed4c Do not create contact mechanism for invalid email from Shopify
Closes #14368
(grafted from 643142484aee74972d3caee2c4a449f8f4abba7e)

--HG--
branch : 7.0
2025-11-17 14:38:07 +01:00
Nicolas Évrard 7234ab36af Use the form part of view_ids when opening a Many2One in a new tab
Closes #14391
(grafted from e4480cb7619e46c879eb3534560d15e1c68e2fbc)

--HG--
branch : 7.0
2025-11-26 16:41:20 +01:00
Cédric Krier 05b4551799 Do not sum digits for widget width when some parts are unknown
Closes #14384
(grafted from cd8a0670dd5c6274062e92a40a39509105c800ec)

--HG--
branch : 7.0
2025-11-27 01:14:59 +01:00
Cédric Krier fdf41cb962 Add missing depends on currency to the TaxableMixin._round_taxes method
Closes #14348
(grafted from c3e0f5727931a8674b377930ff9df896f95cbdbb)

--HG--
branch : 7.0
2025-11-04 10:28:04 +01:00
Cédric Krier 15b14f1c5d Increase version number
--HG--
branch : 7.0
2025-11-21 08:47:03 +01:00
Cédric Krier 784c59a198 Add tag account_payment_clearing-7.0.6
--HG--
branch : 7.0
2025-11-21 08:46:54 +01:00
Cédric Krier 88dd7d74ad Prepare release account_payment_clearing-7.0.6
--HG--
branch : 7.0
2025-11-21 08:46:53 +01:00
Cédric Krier c6610e98ed Increase version number
--HG--
branch : 7.0
2025-11-21 08:45:06 +01:00
Cédric Krier 04c959928e Add tag account_statement-7.0.5
--HG--
branch : 7.0
2025-11-21 08:44:57 +01:00
Cédric Krier 6385bdc7c2 Prepare release account_statement-7.0.5
--HG--
branch : 7.0
2025-11-21 08:44:56 +01:00
Cédric Krier adb552a265 Increase version number
--HG--
branch : 7.0
2025-11-21 08:43:32 +01:00
Cédric Krier e6533a5275 Add tag account_stock_eu-7.0.6
--HG--
branch : 7.0
2025-11-21 08:43:21 +01:00
Cédric Krier 3c0e52d425 Prepare release account_stock_eu-7.0.6
--HG--
branch : 7.0
2025-11-21 08:43:20 +01:00
Cédric Krier 02242e7245 Increase version number
--HG--
branch : 7.0
2025-11-21 08:41:20 +01:00
Cédric Krier bb6ae11c69 Add tag incoterm-7.0.3
--HG--
branch : 7.0
2025-11-21 08:41:11 +01:00
Cédric Krier e6cc17c608 Prepare release incoterm-7.0.3
--HG--
branch : 7.0
2025-11-21 08:41:10 +01:00
Cédric Krier 9279a2c159 Increase version number
--HG--
branch : 7.0
2025-11-21 08:35:08 +01:00
Cédric Krier e7ac316d29 Add tag purchase-7.0.15
--HG--
branch : 7.0
2025-11-21 08:34:58 +01:00
Cédric Krier 3ce266ea34 Prepare release purchase-7.0.15
--HG--
branch : 7.0
2025-11-21 08:34:57 +01:00
Cédric Krier 6b63cf1817 Increase version number
--HG--
branch : 7.0
2025-11-21 08:31:52 +01:00
Cédric Krier 271a991c9e Add tag tryton-7.0.29
--HG--
branch : 7.0
2025-11-21 08:31:41 +01:00
Cédric Krier 3b248519de Prepare release tryton-7.0.29
--HG--
branch : 7.0
2025-11-21 08:31:40 +01:00
Cédric Krier 8c997fda95 Increase version number
--HG--
branch : 7.0
2025-11-21 01:27:04 +01:00
Cédric Krier 2f00a9c97d Add tag trytond-7.0.40
--HG--
branch : 7.0
2025-11-21 01:26:54 +01:00
Cédric Krier bee9a524ec Prepare release trytond-7.0.40
--HG--
branch : 7.0
2025-11-21 01:26:53 +01:00
Cédric Krier 8a7992ac9a Increase version number
--HG--
branch : 7.0
2025-11-21 01:20:55 +01:00
Cédric Krier 79115af83b Add tag sao-7.0.40
--HG--
branch : 7.0
2025-11-21 01:20:50 +01:00
Cédric Krier 92d3851c3a Prepare release sao-7.0.40
--HG--
branch : 7.0
2025-11-21 01:20:49 +01:00
Cédric Krier 22f15e20bb Escape completion content with custom format
Closes #14363
(grafted from cd3931840db95bf96064b7f4f44f068f78df3c76)

--HG--
branch : 7.0
2025-11-20 17:03:46 +01:00
Cédric Krier 9278ba3110 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
(grafted from 4e3e875a295e533244d0f28c1cf2efe5187489ba)

--HG--
branch : 7.0
2025-11-17 12:26:57 +01:00
Cédric Krier 15c7b27e73 Include the traceback only in RPC responses in development mode
Closes #14354
(grafted from 8693a06919f2ceac1aa9f36ab6069325198ec94b)

--HG--
branch : 7.0
2025-11-12 14:56:34 +01:00
Cédric Krier 5cec836abd 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
(grafted from 1103361fdaf6d9da12fe6455d871a4eba089d768)

--HG--
branch : 7.0
2025-11-17 10:28:49 +01:00
Cédric Krier db854e9ee2 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
(grafted from 1c20b8ef85a418d3c00e1495deb203317b4355c1)

--HG--
branch : 7.0
2025-11-03 11:16:05 +01:00
Cédric Krier b874f7af00 Set TRYTOND_APPNAME and TRYTOND_TZ only if they are not set or empty
Closes #14322
(grafted from e156432714ee406c1fea3330561b710622c123ee)

--HG--
branch : 7.0
2025-10-31 12:11:02 +01:00
Cédric Krier 60b689c802 Replace party on account statement origin
Closes #14282
(grafted from ebb9b6ac6341fc9f4a8e1290ae2bbb094a20f3bd)

--HG--
branch : 7.0
2025-10-31 11:45:54 +01:00
Cédric Krier d3c85a8ea8 Set a default value when calculating clearing reconcile of a payment group
Closes #14301
(grafted from 91174ccc69295c1735dad93d720e078ceff91e51)

--HG--
branch : 7.0
2025-11-02 16:53:22 +01:00
Nicolas Évrard 22d237710e 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
(grafted from f186b83936dbde32aca06b3a329bf519df2c8232)

--HG--
branch : 7.0
2025-10-31 18:04:31 +01:00