Since c8771e45b861 the retry is no more a countdown but an increasing count, so
the sleep time must be adapted to also increase over retries.
Closes#13910
(grafted from ec79b27486baf92769bef216aa4e5316ac708537)
--HG--
branch : 7.0
The TableHandler adds the table name as prefix to the constraint name so when
comparing with the integrity error message, it should also be added.
Especially if the constraint name is hashed by the TableHandler conversion
because the result is completely different.
Closes#13922
(grafted from 57e97b6d957e1b472eea3fb7bbdf2ecf03abfc6a)
--HG--
branch : 7.0
Since 87456218dcc9, record with NULL field is include in nested negative clause
but this should not applied if the operand is or contains None.
Closes#13911
(grafted from 993d890dd786424c2cd00009045ad95a09075e72)
--HG--
branch : 7.0
This permit to keep the connection alive when the database is killing idle
connections.
Closes#13902
(grafted from 12e80f41c37e1f77d1ae539e84989956a70da0d9)
--HG--
branch : 7.0
It is not possible from the clients to force to store None value instead of
empty string.
Closes#13890
(grafted from f7b12ada27377ec42a05b539791855e6f64c497f)
--HG--
branch : 7.0
If the record has already been cleaned, there is no need to try to delete again.
(grafted from e5ed9fc71d218c967bdbfc9489773905e5a5466c)
--HG--
branch : 7.0
The search method must always return an integer when count is True.
Closes#13846
(grafted from 491dea19bb6bc72547c1038c1f3a8ceb56e4a068)
--HG--
branch : 7.0
Using the instance from the list of cache, the ORM read the image for all the
linked cache which is unnecessary.
Closes#13831
(grafted from 4dd742a6d7cb8765364387d95fbc54c3ed86bce9)
--HG--
branch : 7.0
Instead of relying on the garbage collector to close the connection by deleting
the object, this ensures that the memory database is actually dropped before a
new connection is instantiated and keep the database.
Closes#13796
(grafted from 0a2239fb548b5b20a9ae4d4a8c8c6c34cfed5683)
--HG--
branch : 7.0
By setting the filestore path as a global variable, we can modify it for the
test without changing the database path where the SQLite databases are stored.
Closes#13792
(grafted from b431c4c5ddcf6556dcfd502bad748e18d596040a)
--HG--
branch : 7.0
The python type is used to test the type of value set but for One2One it is an
instance which can not be tested with a simple Python type.
Closes#13817
(grafted from 34725c999ed27d30323e3dbc605b5c8522c8b924)
--HG--
branch : 7.0
The same view may have different set of fields if it is extended conditionally.
Closes#13758
(grafted from 826ac4da1e20acd1e1b5aec3c3aaa00f04cdc81b)
--HG--
branch : 7.0
Since c47b3642f1a6, the getter of a Function field may be called if there is no
value set for it on the instance.
In the on_change context, this may set the missing fields to None if they were
not defined in the depends of the method called. In addition to compute a wrong
value, those fields are then returned as modified.
Closes#13735
(grafted from 1b815539165a1212fc5c415c8920d8f5f0c55236)
--HG--
branch : 7.0
smtplib is already closing the connection when such error code is received.
Closes#13710
(grafted from e91426cb5d9db204250399823ab9e2acba640b1f)
--HG--
branch : 7.0