There is no need to wait 2 seconds for more notifications as we call
get_notifications only when the selector is triggered.
Closes#15102
(grafted from 02567102eb63f69faedf61ae83c51a5075b57588)
--HG--
branch : 8.0
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
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
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
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
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
The field must contain strings in order to allow edition with the HTML editor.
Closes#14922
(grafted from 73b5636cf6abe1ea23f05bab04772129a5178e11)
--HG--
branch : 8.0
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
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
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
ResourceAccessMixin inherits from ModelStorage so it should support the
ModelStorage.search API.
Closes#14900
(grafted from 0011c5048a75906493f45a752958733d8cae5f12)
--HG--
branch : 8.0
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