Commit Graph
5309 Commits
Author SHA1 Message Date
Cédric Krier 9d8b9efc96 Increase version number
--HG--
branch : 7.0
2026-02-01 10:57:40 +01:00
Cédric Krier 7b2e226f50 Prepare release trytond-7.0.45
--HG--
branch : 7.0
2026-02-01 10:57:28 +01:00
Cédric Krier f044fefef5 Support clause on multiselection field with operator in and value None
Closes #14520
(grafted from 7a8606077f4c574566fe75d8b74573b31c934980)

--HG--
branch : 7.0
2026-01-19 16:40:01 +01:00
Cédric Krier 2eedae597e Convert index expression to string to instantiate psycopg2 SQL
Closes #14487
(grafted from 0c2a2477e2b2eb6c24821a084d563f37527607d4)

--HG--
branch : 7.0
2026-01-24 08:51:39 +01:00
Cédric Krier f4fb494f32 Ensure to always surround USING expression with parenthesis in CREATE INDEX
Closes #14487
(grafted from b45a29b26853324f65adc8c49b59a62d6f591529)

--HG--
branch : 7.0
2026-01-13 16:50:08 +01:00
Cédric Krier 40cf7ed78e Increase version number
--HG--
branch : 7.0
2026-01-15 21:57:02 +01:00
Cédric Krier a95531c644 Prepare release trytond-7.0.44
--HG--
branch : 7.0
2026-01-15 21:56:50 +01:00
Cédric Krier 3ebc155d56 Defer patching requests default agent when it is imported
Importing requests module in `trytond/__init__.py` prevents the gevent monkey
patch to be applied to the requests module as it is imported before.

Closes #14461
(grafted from f46f8037da40d5208b4d32552529d7dbca1dedea)

--HG--
branch : 7.0
2026-01-03 13:45:10 +01:00
Cédric Krier bd927c52cb Increase version number
--HG--
branch : 7.0
2026-01-02 10:50:45 +01:00
Cédric Krier 0a0f2cce96 Prepare release trytond-7.0.43
--HG--
branch : 7.0
2026-01-02 10:50:34 +01:00
Cédric Krier 5e9e5b2627 Log event using the transaction of the records
Closes #14446
(grafted from 26a0e633cca7b48c7a585f9687af279edd2900b5)

--HG--
branch : 7.0
2025-12-23 09:55:34 +01:00
Cédric Krier 9f65df770a Always surround WHERE clause with parentheses in EXCLUDE constraint
Closes #14449
(grafted from 7e50d52dc65227f494c6ad965917364fc08f0c5e)

--HG--
branch : 7.0
2025-12-24 11:38:45 +01:00
Cédric Krier a15ffbf600 Increase version number
--HG--
branch : 7.0
2025-12-20 21:10:45 +01:00
Cédric Krier 55e8d152d9 Prepare release trytond-7.0.42
--HG--
branch : 7.0
2025-12-20 21:10:34 +01:00
Cédric Krier 082d3e88fa Compare element to replace new view tree from inherit application against None
lxml raises a warning about truth-testing on element.

Close #14429
(grafted from 8743690048a7874266e00696dd47df831e02c6c9)

--HG--
branch : 7.0
2025-12-16 11:56:31 +01:00
Cédric Krier 1ef14c8434 Increase version number
--HG--
branch : 7.0
2025-12-17 19:11:30 +01:00
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
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 8c997fda95 Increase version number
--HG--
branch : 7.0
2025-11-21 01:27:04 +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 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 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 b230b85ae6 Increase version number
--HG--
branch : 7.0
2025-11-02 16:56:27 +01:00
Cédric Krier 9399c8bf28 Prepare release trytond-7.0.39
--HG--
branch : 7.0
2025-11-02 16:56:15 +01:00
Nicolas Évrard 4c57bf8e11 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
(grafted from c81b7d05a51c491f1c7060506144bf50d395c075)

--HG--
branch : 7.0
2025-10-31 14:28:27 +01:00
Cédric Krier d93a5ae0f5 Increase version number
--HG--
branch : 7.0
2025-10-20 14:38:25 +02:00
Cédric Krier 3247f7f59e Prepare release trytond-7.0.38
--HG--
branch : 7.0
2025-10-20 14:38:14 +02:00
Cédric Krier c141de9724 Use sub-test when testing search domain with deactivable mixin
(grafted from 4c8bb51f47ab3ba881bb5738f3387d656f5ed52a)

--HG--
branch : 7.0
2025-08-23 20:29:51 +02:00
Cédric Krier f2cc44a1b6 Lock records on transaction start
Same as c8771e45b861 but when locking only records instead of the table.

Closes #13943
(grafted from 00790a58e6a364c46dd7178de02bd6842e6dc0c6)

--HG--
branch : 7.0
2025-03-27 13:39:04 +01:00
Cédric Krier d6716d6250 Increase version number
--HG--
branch : 7.0
2025-10-02 23:21:42 +02:00
Cédric Krier 28dfb69f15 Prepare release trytond-7.0.37
--HG--
branch : 7.0
2025-10-02 23:21:30 +02:00
Cédric Krier 8044956aaf Patch global PATH variable of filestore in test
Changing the configuration value is not enough as its value is cached in the
global variable.

Closes #14248
(grafted from 2967a503290b9b6d724a1da46b80523e75536179)

--HG--
branch : 7.0
2025-09-20 09:07:18 +02:00
Cédric Krier c446ca6d0e Restore limit when searching for searching for wizard name
20cdba7a1bf3 removed the limit but it is still needed to extract the single
record.

Closes #14238
(grafted from 303d517654fcbee0369a27e752e312bd9b722d1c)

--HG--
branch : 7.0
2025-09-18 07:48:50 +02:00
Nicolas Évrard cdc10ed0fd Get name for wizards not linked to a model
Closes #14033
(grafted from 20cdba7a1bf3738eba3d474d4d5f366a758d1010)

--HG--
branch : 7.0
2025-09-14 15:27:16 +02:00
Cédric Krier bec84ab55b Increase version number
--HG--
branch : 7.0
2025-09-15 18:06:04 +02:00
Cédric Krier 9f1ebce38e Prepare release trytond-7.0.36
--HG--
branch : 7.0
2025-09-15 18:05:53 +02:00
Cédric Krier 4242486e90 Redact sensitive values from the log
Closes #14220
(grafted from 252e508b7072b4a6f9480a5a063088cbca8280a6)

--HG--
branch : 7.0
2025-09-14 02:43:33 +02:00
Nicolas Évrard 6a3aac7351 Make sure that the search order is predictable when either the limit or the offset is set
Closes #14169
(grafted from 303c314c8c10e77c346c1ab4ee2d707d15957b15)

--HG--
branch : 7.0
2025-08-18 10:40:02 +02:00
Cédric Krier 0924b5875a Increase version number
--HG--
branch : 7.0
2025-09-03 20:26:28 +02:00
Cédric Krier b1fd4fd7aa Prepare release trytond-7.0.35
--HG--
branch : 7.0
2025-09-03 20:26:17 +02:00
Lars Wuerfel 54e74fc4d0 Correct typos in the report documentation
(grafted from c856f5fc2736eb35f286e360368e6a3dca3858a0)

--HG--
branch : 7.0
2025-07-23 10:44:12 +02:00
Cédric Krier 47ed17d152 Fix highlight syntax of board documentation
(grafted from c35b5833797f7d6342c469fdc5c99b291b98c4ac)

--HG--
branch : 7.0
2025-06-26 19:05:43 +02:00
Nicolas Évrard 8c4d0224e6 Use the canonical name of the test timezone
Closes #14170
(grafted from 38c8bbe6c090fa62530b010065565bd38700f84a)

--HG--
branch : 7.0
2025-08-18 11:35:25 +02:00
Cédric Krier 94ab53a27f Set default values for fields of button_change decorator
Closes #14120
(grafted from 8210e7db85599228bcdb65019e8cbfab6b913334)

--HG--
branch : 7.0
2025-07-15 17:37:59 +02:00
Cédric Krier 03ba00ed90 Increase version number
--HG--
branch : 7.0
2025-07-15 23:05:24 +02:00