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