Commit Graph
5353 Commits
Author SHA1 Message Date
Cédric Krier c3c248ccb8 Prepare release trytond-7.0.54
--HG--
branch : 7.0
2026-07-15 18:23:45 +02:00
Cédric Krier e7ff779a05 Permit __url__ and __href__ attribute usage in Genshi evaluation
Closes #14932
(grafted from 936431c951bb4eb9d17c399445c6cacf7dcb8626)

--HG--
branch : 7.0
2026-07-06 09:07:08 +02:00
Adrià Tarroja Caubet d76f59d574 Add a comma between 'set' and 'slice' in the Genshi allowed builtins
Closes #14928
(grafted from 0255fea9294bed43ca3e42186bdb52c7f22277e1)

--HG--
branch : 7.0
2026-07-04 00:17:12 +02:00
Cédric Krier bd25755eb8 Increase version number
--HG--
branch : 7.0
2026-07-01 22:38:32 +02:00
Cédric Krier 5d0a3aa891 Prepare release trytond-7.0.53
--HG--
branch : 7.0
2026-07-01 22:38:21 +02:00
Cédric Krier 5ab6483364 Enforce access right on the email template record
Closes #14907
(grafted from d9aa2de5dabe7e39892c41808d56103ea83bf95f)

--HG--
branch : 7.0
2026-06-30 09:48:33 +02:00
Cédric Krier 3d785d0910 Add ModelAccessProxy
#14907
(grafted from dafef28a1d65032628809acbfa130a2f2e74474f)

--HG--
branch : 7.0
2026-07-01 00:46:07 +02:00
Cédric Krier 993cf9f948 Restrict Genshi evaluation
Closes #14869 #5160
(grafted from 101aaf12c6bb1a333c9105b1e6677a4a5f49605c)

--HG--
branch : 7.0
2026-06-08 23:44:10 +02:00
Cédric Krier 4a28402252 Resolve Tryton modules using entrypoints
The Pool tries to resolve registered string using the path `trytond.modules.`
which can not always be imported if the module is using an entry pointing to
another package.

Closes #14914
(grafted from bb96325e829df570aac1f7624c862a660c0be286)

--HG--
branch : 7.0
2026-06-26 15:17:14 +02:00
Cédric Krier 87f8c663bb Support ModelStorage.search API in ResourceAccessMixin
ResourceAccessMixin inherits from ModelStorage so it should support the
ModelStorage.search API.

Closes #14900
(grafted from 0011c5048a75906493f45a752958733d8cae5f12)

--HG--
branch : 7.0
2026-06-18 11:04:10 +02:00
Cédric Krier b98e6122a1 Increase version number
--HG--
branch : 7.0
2026-06-18 21:30:07 +02:00
Cédric Krier c8c147b0cc Prepare release trytond-7.0.52
--HG--
branch : 7.0
2026-06-18 21:29:54 +02:00
Cédric Krier dc482bf2a3 Support query without where clause when searching on Many2One with where operator
When not using subquery but EXISTS and having a target domain converted into
UNION, the query result does not have a 'where' clause.

Closes #14889
(grafted from 96982406e129d1e063c1a332289376f45e586ecc)

--HG--
branch : 7.0
2026-06-11 14:29:17 +02:00
Alen Sugimoto 8dbb598b51 Fix falsy negative currency formatting selection
Closes #14860
(grafted from 5e06983974daed2cb0e372a1b3a5f2cd107df751)

--HG--
branch : 7.0
2026-05-24 08:31:26 -07:00
Cédric Krier 8c4bdb5e93 Increase version number
--HG--
branch : 7.0
2026-06-02 18:47:01 +02:00
Cédric Krier 30939d4f27 Prepare release trytond-7.0.51
--HG--
branch : 7.0
2026-06-02 18:46:48 +02:00
Nicolas Évrard bdb07fa7f7 Fetch limit records of ResourceAccessMixin models when they are available
Closes #14788
(grafted from 5e7086dc7cc483868eca8852f4728557224c6980)

--HG--
branch : 7.0
2026-04-21 13:40:21 +02:00
Cédric Krier d5adbde92d Increase version number
--HG--
branch : 7.0
2026-05-20 23:22:06 +02:00
Cédric Krier b168478895 Prepare release trytond-7.0.50
--HG--
branch : 7.0
2026-05-20 23:21:53 +02:00
Cédric Krier e5066b2fce Make search on boolean non equals to True is the same as different of False
Closes #14815
(grafted from 7ac4b470f9e36f846b28d4c12e5e121e204d4aa1)

--HG--
branch : 7.0
2026-05-06 09:23:35 +02:00
Nicolas Évrard c7a469ed20 Synchronize trytond and tryton domain_inversion implementations
The commit d826376d08a5 was not correctly copied.
(grafted from 191f2e9503a1a2598810067689b7a14d67eef138)

--HG--
branch : 7.0
2025-02-12 18:59:33 +01:00
Cédric Krier 31580cc920 Increase version number
--HG--
branch : 7.0
2026-05-02 13:54:10 +02:00
Cédric Krier 8365910d6e Prepare release trytond-7.0.49
--HG--
branch : 7.0
2026-05-02 13:53:57 +02:00
Cédric Krier f96ddecc3e Test if there is a connection on the transaction before rollback or put
--HG--
branch : 7.0
2026-04-30 21:39:31 +02:00
Cédric Krier 0f3fc98088 Activate module for TranslationTestCase
(grafted from 968cfd79f10955b767967f99aa970956e09b23c8)

--HG--
branch : 7.0
2026-04-24 16:06:46 +02:00
Nicolas Évrard 04f2e7c676 Add missing _datamanagers property on Transaction creation
(grafted from 7ab23e6cc9d3925410da5bc7e6f76f3cef162efa)

--HG--
branch : 7.0
2026-04-24 11:45:37 +02:00
Nicolas Évrard 6c5598b9f2 User percent encoded name of inexistant database
Closes #14801
(grafted from 5fddfb00cfffa81177c0b5ddda6aaecaccfe19da)

--HG--
branch : 7.0
2026-04-30 20:09:07 +02:00
Nicolas Évrard c523aee951 Ensure check_warnings and _datamanagers are valid when using them
(grafted from ee9737c3a9c8618d09c491f5c3401fef0f0f078f)

--HG--
branch : 7.0
2026-04-24 11:47:03 +02:00
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