Cédric Krier
1f04d08061
Increase version number
...
--HG--
branch : 8.0
2026-09-16 23:03:56 +02:00
Cédric Krier
de9dc63c55
Prepare release trytond-8.0.10
...
--HG--
branch : 8.0
2026-09-16 23:03:41 +02:00
Cédric Krier
8f5b01564e
Store delete rule of column per constraint
...
If a column is used for different foreign keys with different delete rules, the
foreign key may be recreated if the last rule stored is different.
Closes #15053
(grafted from 636865d7fc72d5e59d9a7bb447de8b87743cc5ad)
--HG--
branch : 8.0
2026-09-02 11:43:46 +02:00
Cédric Krier
862ef8d408
Wait until a message is received when testing subscription of bus
...
Closes #15065
(grafted from 020452568c782b3d20fe64fe58e33088095125a1)
--HG--
branch : 8.0
2026-09-04 11:53:57 +02:00
Cédric Krier
4e4d7b0729
Test the existence of the request context key before using it for URL
...
Closes #15046
(grafted from 5eae02e6c094d6741d615d1c4bd2333721eb92b7)
--HG--
branch : 8.0
2026-08-27 15:56:47 +02:00
Nicolas Évrard
04ab9aaedf
Check the existence of a getter before adding it to a field depends
...
Closes #15055
(grafted from 9d5d21d76b461d82c7d43c6221f7e9f1f1d3f5cc)
--HG--
branch : 8.0
2026-09-03 12:24:29 +02:00
Cédric Krier
eb14b26c7c
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 : 8.0
2026-08-25 09:45:59 +02:00
Cédric Krier
32197c0397
Ensure to use an estimated count greater than 1 when applying log10
...
Closes #15038
(grafted from ff2281026e58f4d7a8c9823837ce16a9bb0fa09b)
--HG--
branch : 8.0
2026-08-25 09:46:47 +02:00
Cédric Krier
ad81e44df6
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 : 8.0
2026-08-17 17:32:55 +02:00
Cédric Krier
605b1d214e
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 : 8.0
2026-08-12 17:57:01 +02:00
Cédric Krier
7844a750a3
Limit the start id of table to 500 for tests
...
By using the formula `(idx * prime) % range + 1`, tables created consecutively
have start id distant by `prime` and the maximum start id is `range`.
This avoid to overflow int4 when composing unique ID for table query.
Closes #15010
(grafted from f730392a270138148ed62366cf7f35a7cc01a8b6)
--HG--
branch : 8.0
2026-08-17 15:06:09 +02:00
Nicolas Évrard
5a3a52e164
Reset TABLES_CREATED when dropping the database when testing
...
Closes #15002
(grafted from e9f2b42e96ebb4553ef153f1d778c5d1042b3891)
--HG--
branch : 8.0
2026-08-10 14:51:04 +02:00
Cédric Krier
dce539cb3b
Increase version number
...
--HG--
branch : 8.0
2026-08-15 08:41:44 +02:00
Cédric Krier
e51692ba4a
Prepare release trytond-8.0.9
...
--HG--
branch : 8.0
2026-08-15 08:41:29 +02:00
Nicolas Évrard
aaf8203d44
Skip translation refering to unknown XML ID or unactivated source
...
Closes #12969
(grafted from 563cb007e55c30ed03e3fb4eb74b623bfa8fd6e1)
--HG--
branch : 8.0
2024-01-29 18:47:56 +01:00
Cédric Krier
210659bace
Increase version number
...
--HG--
branch : 8.0
2026-08-04 12:04:55 +02:00
Cédric Krier
26fe37f297
Prepare release trytond-8.0.8
...
--HG--
branch : 8.0
2026-08-04 12:04:39 +02:00
Cédric Krier
c3af1a9ad6
Restrict protocols allowed for weasyprint to http(s)
...
Closes #14947
(grafted from 7c72806c98c07bb4ccb1f5f1b84954350541ec3a)
--HG--
branch : 8.0
2026-08-04 10:38:45 +02:00
Cédric Krier
5653c0d164
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 : 8.0
2026-07-24 16:10:12 +02:00
Cédric Krier
526519b6c9
Calculate the number of parameters in INSERT query using the columns list
...
The column names list does not contain the create_uid nor create_date columns
instead of columns list.
Closes #14800
(grafted from 090325cb8d9f26f30613a890a02c1c339b370082)
--HG--
branch : 8.0
2026-07-23 11:37:36 +02:00
Cédric Krier
57e8b983b7
Use binary version of psycopg for tests
...
(grafted from 7868852522d26ff069aebcc03ae73d98abe97879)
--HG--
branch : 8.0
2026-07-17 22:11:32 +02:00
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