Commit Graph
5850 Commits
Author SHA1 Message Date
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
Cédric Krier c3f7b2d655 Remove Auto-Submitted header from chat emails 2026-04-07 09:31:56 +02:00
Cédric Krier 063d384a4e Add naiad library 2026-04-07 17:40:41 +02:00
Cédric Krier 0e25c97f45 Add REST API 2026-04-04 23:03:18 +02:00
Cédric Krier dbe5c74cb6 Add rpc suffix to URL for RPC call 2023-11-12 23:43:19 +01:00
Cédric Krier 84c47a0433 Support mounting application under a prefix
Closes #9239
2023-11-12 23:44:43 +01:00
Cédric Krier 0efb097f55 Store Message-Id of email received on the corresponding chat message
Closes #14730
2026-04-01 13:07:51 +02:00
Cédric Krier c7c8810b8e Add ModelView to chat message
It is needed to store the message as result on the inbound email.

Closes #14729
2026-04-01 13:06:11 +02:00
Cédric Krier 5411ad3340 Add record name to chat channel 2026-04-01 13:05:17 +02:00
Cédric Krier 2821e4ddab Make chat channel readable only by the administrators 2026-04-01 13:04:45 +02:00
Cédric Krier 32d3cef4e4 Use session property instead of authorization for bus subscription
Since 375fb083e95a the userid may be defined in a cookie instead of the
authorization header.

Closes #14726
2026-03-31 13:26:00 +02:00
Cédric Krier 0a5b91f689 Fallback to Compact Syntax if RelaxNG files are not present
lxml can load compact syntax if rnc2rng package is installed.
This avoid the need to generate the RelaxNG files in development.
2026-03-30 11:29:57 +02:00
Nicolas Évrard 44642bec77 Add support for emails on the chat channels 2026-03-31 18:59:55 +02:00
Cédric Krier ea7a417d4a Add documentation about notification 2025-12-13 17:21:23 +01:00
Cédric Krier 4bbe1e263c Fix documentation label for strict sequence 2026-01-13 15:41:04 +01:00