Cédric Krier
2646cbca09
Increase version number
...
--HG--
branch : 8.0
2026-07-15 18:22:36 +02:00
Cédric Krier
5b6cba6453
Prepare release trytond-8.0.7
...
--HG--
branch : 8.0
2026-07-15 18:22:21 +02:00
Cédric Krier
e28e1ead48
Return Gateway Timeout instead of Request Timeout for database timeout
...
Closes #14945
(grafted from ae46da1d0ab434dda58b54070e1faa2a72974935)
--HG--
branch : 8.0
2026-07-08 22:12:42 +02:00
Cédric Krier
755b173a77
Add missing duration argument to database timeout warning
...
Closes #14944
(grafted from 8a86ff7389e0f759ebb07b6738e24c3e7a4ae309)
--HG--
branch : 8.0
2026-07-08 22:23:38 +02:00
Cédric Krier
1d532143b5
Use NullConnectionPool for the default database
...
The default database is template1 which is usually used to create new database.
Keeping a pool of connection open on it prevents the creation of new database
because exclusive access is needed on the template.
Closes #14935
(grafted from 20781078a519c45a7a1f70b0074c6abcb1a89589)
--HG--
branch : 8.0
2026-07-06 19:34:24 +02:00
Cédric Krier
402c9fa20b
Permit __url__ and __href__ attribute usage in Genshi evaluation
...
Closes #14932
(grafted from 936431c951bb4eb9d17c399445c6cacf7dcb8626)
--HG--
branch : 8.0
2026-07-06 09:07:08 +02:00
Cédric Krier
ebed93c61a
Define index using COALESCE for nullable Char fields
...
Closes #14909
(grafted from 525198c97acdd19820d581411b3af0f5bb6e4237)
--HG--
branch : 8.0
2026-07-14 21:14:05 +02:00
Cédric Krier
856461f693
Do not apply COALESCE on required Char
...
Closes #14909
(grafted from 776fe202ed6fd03b690948cf4e2dabc2fd28bbc4)
--HG--
branch : 8.0
2026-06-24 22:06:59 +02:00
Adrià Tarroja Caubet
06c8db564e
Add a comma between 'set' and 'slice' in the Genshi allowed builtins
...
Closes #14928
(grafted from 0255fea9294bed43ca3e42186bdb52c7f22277e1)
--HG--
branch : 8.0
2026-07-04 00:17:12 +02:00
Cédric Krier
f50c692f40
Increase version number
...
--HG--
branch : 8.0
2026-07-01 22:37:02 +02:00
Cédric Krier
46364e04ec
Prepare release trytond-8.0.6
...
--HG--
branch : 8.0
2026-07-01 22:36:48 +02:00
Cédric Krier
de1a30881f
Enforce access right on the email template record
...
Closes #14907
(grafted from d9aa2de5dabe7e39892c41808d56103ea83bf95f)
--HG--
branch : 8.0
2026-06-30 09:48:33 +02:00
Cédric Krier
35a7e696cf
Add ModelAccessProxy
...
#14907
(grafted from dafef28a1d65032628809acbfa130a2f2e74474f)
--HG--
branch : 8.0
2026-06-25 13:31:30 +02:00
Cédric Krier
a86bc71a32
Restrict Genshi evaluation
...
Closes #14869 #5160
(grafted from 101aaf12c6bb1a333c9105b1e6677a4a5f49605c)
--HG--
branch : 8.0
2026-06-08 23:44:10 +02:00
Cédric Krier
f78eb154ee
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 : 8.0
2026-06-26 15:17:14 +02:00
Cédric Krier
96eb7071f7
Update module tutorial to match with the cookiecutter output
...
(grafted from e33b58f3d6a1bd6445853b88c2d26ff5e8a61c9c)
--HG--
branch : 8.0
2026-06-18 19:11:04 +02:00
Cédric Krier
e1eb2bb48d
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 : 8.0
2026-06-18 11:04:10 +02:00
Nicolas Évrard
5834e156f0
Delete only the records marked to be deleted when restoring history
...
Closes #14913
(grafted from 2335dba4dc447dbcae94d99097911460439ef02a)
--HG--
branch : 8.0
2026-06-26 15:41:27 +02:00
Cédric Krier
3c2ad42587
Do not convert select query value into list when searching on char with in operator
...
Closes #14898
(grafted from f62e20c70717ed0a40ad86a7dd5672577f73626b)
--HG--
branch : 8.0
2026-06-18 15:49:10 +02:00
Nicolas Évrard
f5122cd85b
Save the new ir.model.data instances before calling functions on them
...
Closes #14885
(grafted from 20d79a09c9a6a5b052048c83fd351f789cd63372)
--HG--
branch : 8.0
2026-06-09 18:33:51 +02:00
Cédric Krier
0b00829ba2
Increase version number
...
--HG--
branch : 8.0
2026-06-18 21:28:09 +02:00
Cédric Krier
2fab2f24e6
Prepare release trytond-8.0.5
...
--HG--
branch : 8.0
2026-06-18 21:27:55 +02:00
Cédric Krier
bb38407c55
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 : 8.0
2026-06-11 14:29:17 +02:00
Sergi Almacellas Abellana
c1302e526e
Use only 3 cols for plural field on lang form
...
Closes #14873
(grafted from c9e05204acc03e85ac33a63039c7b739307f80a1)
--HG--
branch : 8.0
2026-06-03 12:48:36 +02:00
Alen Sugimoto
bf9531fb55
Fix falsy negative currency formatting selection
...
Closes #14860
(grafted from 5e06983974daed2cb0e372a1b3a5f2cd107df751)
--HG--
branch : 8.0
2026-05-24 08:31:26 -07:00
Cédric Krier
7b4d801da9
Increase version number
...
--HG--
branch : 8.0
2026-06-02 18:44:41 +02:00
Cédric Krier
0824a1afe9
Prepare release trytond-8.0.4
...
--HG--
branch : 8.0
2026-06-02 18:44:23 +02:00
Cédric Krier
a0f1e4929c
Publish user notification on the bus when notifications are also modified or deleted
...
Closes #14835
(grafted from d097be5be052ce8af1b1592a569a14e14aecae33)
--HG--
branch : 8.0
2026-05-18 14:11:39 +02:00
Cédric Krier
5a38f2a853
Close database after initialization of Pool from WSGI application
...
The psycopg pool starts worker threads that must be stopped.
Closes #14849
(grafted from fb2059f652653820142d67f34fd58953decf48f3)
--HG--
branch : 8.0
2026-05-19 18:19:59 +02:00
Cédric Krier
4fca529235
Support pool process with spawn context for cron and worker
...
When max_tasks_per_child is set, the ProcessPoolExecutor uses a spawn
multiprocessing context which starts a new process from scratch with a __name__
being __mp_main__ which prevents the configuration to be restored.
So in the ProcessPoolExecutor initializer the configuration is restored using
the initial options.
Closes #14843
(grafted from cb5c6667ac51818d49ca397347419a40b88768fd)
--HG--
branch : 8.0
2026-05-19 12:29:44 +02:00
Nicolas Évrard
456e3203d0
Fetch limit records of ResourceAccessMixin models when they are available
...
Closes #14788
(grafted from 5e7086dc7cc483868eca8852f4728557224c6980)
--HG--
branch : 8.0
2026-04-21 13:40:21 +02:00
Cédric Krier
54c5e75d8e
Increase version number
...
--HG--
branch : 8.0
2026-05-20 23:20:39 +02:00
Cédric Krier
854639a981
Prepare release trytond-8.0.3
...
--HG--
branch : 8.0
2026-05-20 23:20:23 +02:00
Cédric Krier
bfd8ecdc38
Make search on boolean non equals to True is the same as different of False
...
Closes #14815
(grafted from 7ac4b470f9e36f846b28d4c12e5e121e204d4aa1)
--HG--
branch : 8.0
2026-05-06 09:23:35 +02:00
Cédric Krier
dc2aaeec41
Delegate notification handling of worker to the backend
...
Since bb52a833e823 the backend provides methods to handle notification.
Closes #14821
(grafted from 2763a98a25e401887fb9ac5049ce21d97b622f66)
--HG--
branch : 8.0
2026-05-07 18:12:20 +02:00
Nicolas Évrard
bb25bf89a6
Synchronize trytond and tryton domain_inversion implementations
...
The commit d826376d08a5 was not correctly copied.
(grafted from 191f2e9503a1a2598810067689b7a14d67eef138)
--HG--
branch : 8.0
2025-02-12 18:59:33 +01:00
Cédric Krier
57bde5cffc
Increase version number
...
--HG--
branch : 8.0
2026-05-02 13:52:12 +02:00
Cédric Krier
9d28375bcd
Prepare release trytond-8.0.2
...
--HG--
branch : 8.0
2026-05-02 13:51:58 +02:00
Cédric Krier
508870da7b
Activate module for TranslationTestCase
...
(grafted from 968cfd79f10955b767967f99aa970956e09b23c8)
--HG--
branch : 8.0
2026-04-24 16:06:46 +02:00
Nicolas Évrard
f912ebc697
Add missing _datamanagers property on Transaction creation
...
(grafted from 7ab23e6cc9d3925410da5bc7e6f76f3cef162efa)
--HG--
branch : 8.0
2026-04-24 11:45:37 +02:00
Nicolas Évrard
e3a862e4c3
User percent encoded name of inexistant database
...
Closes #14801
(grafted from 5fddfb00cfffa81177c0b5ddda6aaecaccfe19da)
--HG--
branch : 8.0
2026-04-22 18:19:51 +02:00
Nicolas Évrard
c4fdf6d9a0
Ensure check_warnings and _datamanagers are valid when using them
...
(grafted from ee9737c3a9c8618d09c491f5c3401fef0f0f078f)
--HG--
branch : 8.0
2026-04-24 11:47:03 +02:00
Sergi Almacellas Abellana
ab1772a940
Shrink psycopg-pool to (0, 1) when cleaning connections
...
When min size is zero, max size must be greater than 0.
Closes #14795
(grafted from 357525621ea68bc99d688ddf04f9912905c9f3a0)
--HG--
branch : 8.0
2026-04-23 15:15:16 +02:00
Cédric Krier
4a40b1656f
Increase version number
...
--HG--
branch : 8.0
2026-04-23 00:59:00 +02:00
Cédric Krier
272e0b1c88
Prepare release trytond-8.0.1
...
--HG--
branch : 8.0
2026-04-23 00:58:46 +02:00
Cédric Krier
321fd8d9ce
Do not pass the channel name as parameter to LISTEN call in the queue
...
psycopg3 can not determine the data type.
Closes #14792
(grafted from 7fc8e6a10574c04a074f55a8a4e56ec4e07efb74)
--HG--
branch : 8.0
2026-04-21 15:30:46 +02:00
Cédric Krier
cd1aef8dfc
Check access only on entry points of chat channel
...
Since 317e5ff39097 the read access is restricted to the admin group.
The access right should not be enforced for the transaction but only at the RPC
entry point.
Closes #14791
(grafted from 8c311ddd3da49bdbd61f2ae22074880ea79ae2ec)
--HG--
branch : 8.0
2026-04-21 12:15:36 +02:00
Cédric Krier
35e4dac5d6
Fix computation of documentation series for odd minor version
...
(grafted from f4d6cf9d57ce7c69bcde185f933f866c0dd40301)
--HG--
branch : 8.0
2026-04-20 21:23:36 +02:00
Cédric Krier
045421c749
Increase version number
...
--HG--
branch : 8.0
2026-04-20 21:01:58 +02:00
Cédric Krier
7f0d38f477
Prepare release 8.0.0
2026-04-20 20:10:13 +02:00