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
If the PYSON statement has the type 'object', it can be a Date, DateTime or
TimeDelta which is allowed for comparison.
Closes#13645
(grafted from df6e3c10a5105e545e1aa8e58c3c087285146a58)
--HG--
branch : 7.0
The `not like` operator implicitly requires the field to be not null but
specific implementation of the named field may allow to have NULL values.
Closes#13592
(grafted from 9af176fb307a975e0af3bf88ad07e098433dcdd1)
--HG--
branch : 7.0
This unify the search behavior on relational fields with NULL value started
with c14f51b77b30.
Closes#13585
(grafted from 87456218dcc9b075658f9e2338b120fce9b9a43d)
--HG--
branch : 7.0