#4028 added the behavior to apply the selected record also on form view the
first time.
But when switching to a calendar view from a form view, the tree states is
stored with the current record. If the calendar view is cleared (always with
sao via the search_filter), then the tree_states_done is cleared and on the
second switch to the form view the current record is override by record stored
in the tree states (from the first form switch).
Closes#13939
(grafted from 5719977cd18ed02fc485a0bc8be4abc6b4aec6b3)
--HG--
branch : 6.0
49cbc9b99ed8 added the calculation of a new variable but before the test that a
current record is actually being saved.
Closes#13946
(grafted from 383b2df462a149197e6e795d595aa3ae1d07f611)
--HG--
branch : 6.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 : 6.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 : 6.0
This permit to keep the connection alive when the database is killing idle
connections.
Closes#13902
(grafted from 12e80f41c37e1f77d1ae539e84989956a70da0d9)
--HG--
branch : 6.0
The csv documentation [1] explains that file object used in writer should be
opened with newline as empty string.
[1] https://docs.python.org/3/library/csv.htmlCloses#12115
(grafted from c07aae86c7fe87715994f0e82177980b9907dc3f)
--HG--
branch : 6.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 : 6.0
The Modify Header set the start value from the sale or purchase values but when
it is a list or a tuple, it should also ensure it contains records before
converting to a list of ids.
Closes#13915
(grafted from 35fc6e3d271b4eeb7ef123f58085836fdab77228)
--HG--
branch : 6.0