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
When invoice lines are created to correct invoices quantity, it should not be
linked to stock moves because it comes from a stock move being cancelled.
Closes#12972
(grafted from 20c538f39c871bacc0486b8506957229268f59cd)
--HG--
branch : 6.0
If the digits of the field is 0, than using '0.0' trigger the validation error
introduced by 2be02f249a1d.
Closes#13197
(grafted from 979cd092ea24f04328af5f4ff315c418e1c5b3e6)
--HG--
branch : 6.0
The backport of #12633 was wrong because f86d35e09e87 changed the structure of
method. Such that the indentation of the call compute_unit_price is not if
there is a product set but if the unit is not valid.
Closes#12702
(grafted from 5cabd3eabbfb54c169ca3a5595aab07c493672b5)
--HG--
branch : 6.0
The wizard to modify header calls on_change_product on all lines but their
type must not change.
Closes#12633
(grafted from d7983af6fe6087b48c9200b7a43f7d74c234c6f9)
--HG--
branch : 6.0
This is the only case where we are sure that the layout will be conserved.
Closes#12320
(grafted from fd07f6017e8154dbb5740c296e48d4c974eaf3e8)
--HG--
branch : 6.0
Using the computed location to get the expected type is not reliable because
for return order, the location can be of different type and the stock move can
change of location type.
Closes#12203
(grafted from ce0b073cd8e637b8052ae3fa5e9bb4d8a7f6ea53)
--HG--
branch : 6.0
When the clause is negative, it must return an AND-ed domain instead of OR-ed.
(grafted from e8c1e7d592b5a21cec95e8d6614112b8021e34d5)
--HG--
branch : 6.0