#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 : 7.0
The write RPC must be done asynchronously in order to manage any concurrency
exception.
But the asynchronous RPC can only be done sequentially, so we ensure there can
be only one single pending promise.
Closes#13940
(grafted from 8b075636539246e8372b8f2500bd093a5862fe24)
--HG--
branch : 7.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 : 7.0
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
It is needed to calculate the payable/receivable balance of grouped lines when
it is partially reconciled.
Closes#13918
(grafted from 58ca406deef42eabe0b9794db5a8c082a1097bcc)
--HG--
branch : 7.0
We must keep existing states when adding required states to party.
Closes#13916
(grafted from 1d22a245f92e3c24fa7dcc794b32b81b84305c82)
--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
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 : 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
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 : 7.0