Cédric Krier
55e15d238b
Increase version number
...
--HG--
branch : 7.0
2026-04-16 22:57:03 +02:00
Cédric Krier
309f28d30c
Prepare release trytond-7.0.48
...
--HG--
branch : 7.0
2026-04-16 22:56:51 +02:00
Cédric Krier
aae65670be
Do not use a Transaction to copy SQLite database for tests restoration
...
Starting a Transaction can only be done on a already setup database as the
cache synchronisation may query the `ir_cache` table.
Closes #14742
(grafted from 205b618af9b4fa41625b7b7d3d118151fe421eca)
--HG--
branch : 7.0
2026-04-02 19:24:07 +02:00
José Antonio Díaz Miralles
ebbd1d0060
Include inactive keys from the dict schema when searching
...
Closes #14694
(grafted from fb1c66a12b6d1794b40983c4012ca4f3674381cb)
--HG--
branch : 7.0
2026-03-29 22:31:44 +02:00
Nicolas Évrard
84d0b66ae6
Consider empty string and None as incompatible with full text searches
...
Closes #14691
(grafted from a23b86559016b158103efe518844b5eceb593e6c)
--HG--
branch : 7.0
2026-03-18 17:23:14 +01:00
Cédric Krier
be16d6f948
Retry to dump status later after unexpected exception
...
Closes #14678
(grafted from 4715ad5143a679d7a7a78147b1f5343b2b27ad9a)
--HG--
branch : 7.0
2026-03-16 10:30:54 +01:00
Cédric Krier
16034d1882
Explicitly close sqlite connection
...
The context manage on Connection only commit the connection but it should still
be explicitly closed.
Closes #13859
(grafted from b529128ca42c72ed76c0b19c71277f917488d05c)
--HG--
branch : 7.0
2026-03-05 08:10:46 +01:00
Cédric Krier
adab208983
Increase version number
...
--HG--
branch : 7.0
2026-03-18 23:21:51 +01:00
Cédric Krier
4dd9a047d5
Prepare release trytond-7.0.47
...
--HG--
branch : 7.0
2026-03-18 23:21:39 +01:00
Maxime Richez
c79be09c94
Rename also columns in history table when renaming columns
...
Closes #14561
(grafted from 14e25c1bddddbe51ddbae31e3dd6b4cec72d49f5)
--HG--
branch : 7.0
2026-03-14 18:09:29 +01:00
Cédric Krier
14621497ad
Use length of the name field of translation as fallback of substring
...
Closes #14623
(grafted from e5b340d466415b9fd383e4f5e94708860994aedb)
--HG--
branch : 7.0
2026-02-24 09:19:16 +01:00
Cédric Krier
0db78cf22b
Increase version number
...
--HG--
branch : 7.0
2026-03-02 21:54:49 +01:00
Cédric Krier
5d975d551c
Prepare release trytond-7.0.46
...
--HG--
branch : 7.0
2026-03-02 21:54:37 +01:00
Cédric Krier
d5e3cdf058
Use relation name to retrieve the invalid domain of Reference field
...
Closes #14603
(grafted from 07ac2f3bba63a34d45aa57333051ece0280ed747)
--HG--
branch : 7.0
2026-02-12 12:58:09 +01:00
Cédric Krier
8dc49b6359
Add environment variable to enable development mode
...
Closes #14530
(grafted from b251595fa8aa5524ec888bc384743da3bb3b7a5d)
--HG--
branch : 7.0
2026-01-21 19:12:34 +01:00
Nicolas Évrard
12168cc5de
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 : 7.0
2026-02-10 18:21:47 +01:00
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