Commit Graph
4813 Commits
Author SHA1 Message Date
Cédric Krier 35552ee722 Increase version number
--HG--
branch : 6.0
2026-03-02 21:55:17 +01:00
Cédric Krier c7ba8c3906 Prepare release trytond-6.0.74
--HG--
branch : 6.0
2026-03-02 21:55:05 +01:00
Cédric Krier d3c588fdd4 Add environment variable to enable development mode
Closes #14530
(grafted from b251595fa8aa5524ec888bc384743da3bb3b7a5d)

--HG--
branch : 6.0
2026-01-21 19:12:34 +01:00
Nicolas Évrard aaf1dbd92f Rename history sequence when the table is renamed
Just like in ff68233bdeb1 we need to also rename the history sequence name as
the migration to identity relies on the sequence name including the table name.

Closes #14598
(grafted from 37e965ef7d10183ef37a2b627b25bc6366421122)

--HG--
branch : 6.0
2026-02-10 18:21:47 +01:00
Cédric Krier cf55a621a7 Increase version number
--HG--
branch : 6.0
2026-02-01 11:00:31 +01:00
Cédric Krier 79d01a8c99 Prepare release trytond-6.0.73
--HG--
branch : 6.0
2026-02-01 11:00:19 +01:00
Cédric Krier 0c57fc3ef2 Support clause on multiselection field with operator in and value None
Closes #14520
(grafted from 7a8606077f4c574566fe75d8b74573b31c934980)

--HG--
branch : 6.0
2026-01-19 16:40:01 +01:00
Cédric Krier 60a24ccfe7 Increase version number
--HG--
branch : 6.0
2026-01-02 10:51:09 +01:00
Cédric Krier 1153a92a11 Prepare release trytond-6.0.72
--HG--
branch : 6.0
2026-01-02 10:50:57 +01:00
Cédric Krier c7854362b7 Always surround WHERE clause with parentheses in EXCLUDE constraint
Closes #14449
(grafted from 7e50d52dc65227f494c6ad965917364fc08f0c5e)

--HG--
branch : 6.0
2025-12-24 11:38:45 +01:00
Cédric Krier 548722daa1 Increase version number
--HG--
branch : 6.0
2025-12-17 19:11:57 +01:00
Cédric Krier 26a7e9797f Prepare release trytond-6.0.71
--HG--
branch : 6.0
2025-12-17 19:11:46 +01:00
Nicolas Évrard 0ed69e3a5b 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 : 6.0
2025-11-14 18:11:20 +01:00
Nicolas Évrard d47a28a994 Use the target id to compute the filter clause of a O2M field compared to None
Closes #14373
(grafted from 6b5e31b69ae62dabb2ad3253d9018945a467dbf1)

--HG--
branch : 6.0
2025-12-13 14:57:52 +01:00
Cédric Krier 71a31a3283 Increase version number
--HG--
branch : 6.0
2025-11-21 01:27:38 +01:00
Cédric Krier 297ce9e9be Prepare release trytond-6.0.70
--HG--
branch : 6.0
2025-11-21 01:27:27 +01:00
Cédric Krier dd53078f27 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 : 6.0
2025-11-17 12:26:57 +01:00
Cédric Krier 50248f6b31 Include the traceback only in RPC responses in development mode
Closes #14354
(grafted from 8693a06919f2ceac1aa9f36ab6069325198ec94b)

--HG--
branch : 6.0
2025-11-12 14:56:34 +01:00
Cédric Krier 4d644d7be8 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 : 6.0
2025-11-17 10:28:49 +01:00
Cédric Krier 91030094af Increase version number
--HG--
branch : 6.0
2025-11-02 16:58:45 +01:00
Cédric Krier 0307ebf3c6 Prepare release trytond-6.0.69
--HG--
branch : 6.0
2025-11-02 16:58:34 +01:00
Nicolas Évrard 9cba89d10f 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 : 6.0
2025-05-20 18:28:23 +02:00
Cédric Krier 773c2e92fa Use sub-test when testing search domain with deactivable mixin
(grafted from 4c8bb51f47ab3ba881bb5738f3387d656f5ed52a)

--HG--
branch : 6.0
2025-08-23 20:29:51 +02:00
Cédric Krier 8421df4104 Increase version number
--HG--
branch : 6.0
2025-10-02 23:25:06 +02:00
Cédric Krier 42e49d0815 Prepare release trytond-6.0.68
--HG--
branch : 6.0
2025-10-02 23:24:54 +02:00
Cédric Krier 7d56a7bf94 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 : 6.0
2025-09-20 09:07:18 +02:00
Cédric Krier 43400b86af Increase version number
--HG--
branch : 6.0
2025-09-15 18:06:42 +02:00
Cédric Krier b748549ca7 Prepare release trytond-6.0.67
--HG--
branch : 6.0
2025-09-15 18:06:32 +02:00
Nicolas Évrard 66f7c90cac Make sure that the search order is predictable when either the limit or the offset is set
Closes #14169
(grafted from 303c314c8c10e77c346c1ab4ee2d707d15957b15)

--HG--
branch : 6.0
2025-08-18 10:40:02 +02:00
Cédric Krier a2da4442be Increase version number
--HG--
branch : 6.0
2025-09-03 20:26:55 +02:00
Cédric Krier 65577c1e1b Prepare release trytond-6.0.66
--HG--
branch : 6.0
2025-09-03 20:26:43 +02:00
Lars Wuerfel 75ce19c8bf Correct typos in the report documentation
(grafted from c856f5fc2736eb35f286e360368e6a3dca3858a0)

--HG--
branch : 6.0
2025-07-23 10:44:12 +02:00
Cédric Krier 09b475101e Set default values for fields of button_change decorator
Closes #14120
(grafted from 8210e7db85599228bcdb65019e8cbfab6b913334)

--HG--
branch : 6.0
2025-07-15 17:37:59 +02:00
Cédric Krier 1ac9eaa096 Increase version number
--HG--
branch : 6.0
2025-07-15 23:05:54 +02:00
Cédric Krier d150e23256 Prepare release trytond-6.0.65
--HG--
branch : 6.0
2025-07-15 23:05:38 +02:00
Cédric Krier 85c5a34401 Do not restore values for created records when exception is raised when saving
Once a record has been created, the id is modified which change its hash value
such that it can not be found anymore.
But as the creation succeeded (and only the write part has failed) we can just
restore the values to None.

Closes #14093
(grafted from a56b25f536568b808bc4c57b6cee03408eaf06f2)

--HG--
branch : 6.0
2025-06-29 19:13:42 +02:00
Cédric Krier 32366c9db7 Do not set Content-Length header to data response
Since version 0.8 werkzeug set the header automatically by default.

Closes #14010
(grafted from 5d2842d92f356a260afaa974ab5a413031505e95)

--HG--
branch : 6.0
2025-06-21 23:02:52 +02:00
Cédric Krier a59906a1e2 Increase version number
--HG--
branch : 6.0
2025-07-01 23:19:19 +02:00
Cédric Krier c5e7d94524 Prepare release trytond-6.0.64
--HG--
branch : 6.0
2025-07-01 23:19:08 +02:00
Cédric Krier a09c30e705 Do not fail if the cache name to clear does not exist
Cache instance can be created on usage like in ValueMixin, so a process may not
have an instance of the cleared cache.

Closes #14067
(grafted from f87b9d37d071aba0b1eaea2c5e9d6accac06aa74)

--HG--
branch : 6.0
2025-06-12 12:48:22 +02:00
Cédric Krier 5dec092e9d Increase version number
--HG--
branch : 6.0
2025-06-04 23:09:40 +02:00
Cédric Krier ed5275d325 Prepare release trytond-6.0.63
--HG--
branch : 6.0
2025-06-04 23:09:29 +02:00
Nicolas Évrard 8a86a3395e Use class access model when testing for parent access
(grafted from f2734a16eb1d28f654ffc3ae6cd45b9d2af8726e)

--HG--
branch : 6.0
2025-05-22 10:59:36 +02:00
Nicolas Évrard f5e8c1e53c Remove notification events from the queue after the wait times out
Closes #14022
(grafted from 23bbeb1772ec7d5e27876e638337d9f2d81bbf19)

--HG--
branch : 6.0
2025-05-14 12:12:54 +02:00
Cédric Krier 8c84250c99 Increase version number
--HG--
branch : 6.0
2025-05-02 22:11:12 +02:00
Cédric Krier e6baa877a2 Prepare release trytond-6.0.62
--HG--
branch : 6.0
2025-05-02 22:11:01 +02:00
Cédric Krier f9d7f6d9bd Process on a copy of imported data
The process_lines of ModelStorage.import_data pop rows when importing One2Many.
But if the transaction has to be restarted for example if a lock is needed, the
original data from the request has been altered for the second call losing some
or all the data to be imported.

Closes #13984
(grafted from 2cb96c1427d7c0edcb1c9b5b410e220db3f8958e)

--HG--
branch : 6.0
2025-04-28 10:49:34 +02:00
Cédric Krier 87647dfebd Do not clear non unique help translation
The help translations may be composed of partitioned strings.

Closes #13978
(grafted from 0cbf346b9ea5c1c25e3c97482b3d296432e441aa)

--HG--
branch : 6.0
2025-04-23 18:32:04 +02:00
Cédric Krier a6496de097 Increase version number
--HG--
branch : 6.0
2025-04-03 00:39:39 +02:00
Cédric Krier 0dcc940be7 Prepare release trytond-6.0.61
--HG--
branch : 6.0
2025-04-03 00:39:27 +02:00