Commit Graph
5369 Commits
Author SHA1 Message Date
Cédric Krier ad50ed48bc Increase version number
--HG--
branch : 7.0
2026-09-16 23:05:29 +02:00
Cédric Krier 69dbf9c239 Prepare release trytond-7.0.57
--HG--
branch : 7.0
2026-09-16 23:05:17 +02:00
Cédric Krier 9c2d4bee74 Wait until a message is received when testing subscription of bus
Closes #15065
(grafted from 020452568c782b3d20fe64fe58e33088095125a1)

--HG--
branch : 7.0
2026-09-04 11:53:57 +02:00
Cédric Krier 21f549d531 Test the existence of the request context key before using it for URL
Closes #15046
(grafted from 5eae02e6c094d6741d615d1c4bd2333721eb92b7)

--HG--
branch : 7.0
2026-08-27 15:56:47 +02:00
Cédric Krier 4216547adc Store only records count greater than 0 in the cache when delete records
The existing cached count may be just an estimation so it is possible that more
records are deleted.

Closes #15038
(grafted from aa4a8bd85207b307b4aa075b105550e4ddae100f)

--HG--
branch : 7.0
2026-08-25 09:45:59 +02:00
Cédric Krier 4f571c7475 Set all attributes of transaction before connecting to the database
The connection to the database may fail and thus stop and rollback may be
called. All the attributes must be set to avoid to raise another AttributeError
exception.

Closes #15022
(grafted from 654923a8085d4804dd217e487c80085c53eb470b)

--HG--
branch : 7.0
2026-08-17 17:32:55 +02:00
Cédric Krier 196f9ab692 Register cache instance after being fully initialized
Otherwise an instance can be accessed by another thread via the registry when
it is still being initialized. And it may crash on missing attribute.

Closes #15007
(grafted from f1840545f4eb5ae5c870a2557a7c3a0314fedb16)

--HG--
branch : 7.0
2026-08-12 17:57:01 +02:00
Cédric Krier 02359a7ec0 Increase version number
--HG--
branch : 7.0
2026-08-15 08:42:55 +02:00
Cédric Krier a2572bcd2e Prepare release trytond-7.0.56
--HG--
branch : 7.0
2026-08-15 08:42:42 +02:00
Nicolas Évrard 7d2d1f7c48 Skip translation refering to unknown XML ID or unactivated source
Closes #12969
(grafted from 563cb007e55c30ed03e3fb4eb74b623bfa8fd6e1)

--HG--
branch : 7.0
2024-01-29 18:47:56 +01:00
Cédric Krier 957f68aba9 Increase version number
--HG--
branch : 7.0
2026-08-04 12:06:11 +02:00
Cédric Krier 4fba184c0c Prepare release trytond-7.0.55
--HG--
branch : 7.0
2026-08-04 12:05:59 +02:00
Cédric Krier 86de462984 Restrict protocols allowed for weasyprint to http(s)
Closes #14947
(grafted from 7c72806c98c07bb4ccb1f5f1b84954350541ec3a)

--HG--
branch : 7.0
2026-07-24 10:49:42 +02:00
Cédric Krier 520ff2bf96 Use Text field for HTML content of report record
The field must contain strings in order to allow edition with the HTML editor.

Closes #14922
(grafted from 73b5636cf6abe1ea23f05bab04772129a5178e11)

--HG--
branch : 7.0
2026-07-24 16:10:12 +02:00
Cédric Krier 1050494552 Use binary version of psycopg for tests
(grafted from 844c3d391796ffe89afce54d12f6bf5f4aa8ef4e)

--HG--
branch : 7.0
2026-07-17 22:16:19 +02:00
Cédric Krier 315707ef31 Increase version number
--HG--
branch : 7.0
2026-07-15 18:24:01 +02:00
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