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
Cédric Krier
de1bb5d5d9
Update translations [skip ci]
2026-04-20 10:38:52 +02:00
Cédric Krier
7e01e915c5
Use no breaking spaces for language definitions
...
Closes #14754
2026-04-08 14:42:10 +02:00
Cédric Krier
cc1a046c9e
Test instances against the Response/Request classes from werkzeug
...
It should be allowed to use the base classes instead of the custom derived of
Tryton.
Closes #14765
2026-04-13 14:38:48 +02:00
Cédric Krier
eb0cb933ef
Delete related resources when deleting records
...
Closes #14748
2026-04-07 13:39:54 +02:00
Cédric Krier
3a14737d86
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
2026-04-02 19:24:07 +02:00
Sergi Almacellas Abellana
b162fe645b
Do not extract relatorio link's text as translation source
2026-04-10 13:52:02 +02:00
Cédric Krier
bcf8181107
Split indexes for history table to have either id or __id
...
815a0a887c3e added the index but the id and __id are just included to the index
when the pre-filtering could be improved if id was in the index and the window
order could be improved if the __id was in the index.
2026-03-31 13:51:29 +02:00
Cédric Krier
a719345f7b
Add index for target column of xxx2Many field on history table
...
Closes #14725
2026-03-31 12:02:51 +02:00
Cédric Krier
df765aee83
Do not use relation field from default order when fetching One2Many records
...
The records are already ordered by the field id to be grouped later so such
order clause has no impact on the result.
But they require joins that may not be needed otherwise.
Closes #14716
2026-03-26 18:00:24 +01:00
Cédric Krier
6a412267b0
Use gettext and normalized email for chat messages
2026-04-07 09:35:21 +02:00
Cédric Krier
cd0299cccd
Set List-Id and List-Post header to chat emails
...
Closes #14747
2026-04-07 09:36:13 +02:00