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
1b3d9d7a758f added the wrong test to exclude period and dates.
Closes#12629
(grafted from 43f382562aa3365af4e03cc5c1073b400ea0d604)
--HG--
branch : 6.0
The initial implementation 6a6b4ef53946 wrongly define the depends for the
function.
Closes#12653
(grafted from 8de5ef43252fb2cd47f1ab3dd239af299c549955)
--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
Since #4080 the record rules are no more enforced on getter of Function
fields.
Closes#12586
(grafted from 27f9dfa253e48fd885ea54d5b983186d7e829583)
--HG--
branch : 6.0
Since e49aaf8553e1, default UoM of "Lots by Locations" has a searcher using
the default UoM of the stock lot.
Closes#12583
(grafted from 09a961f1f5e27c8f0787bea29c881ee67c9163a6)
--HG--
branch : 6.0
The post method can be called multiple times for an invoice by process but
only one deferral is allowed by line.
Also the initial draft deferral may be delete in case of mistake so we must
not create automatically a new one later.
Closes#12567
(grafted from 7c72d42d78d92db1fbe36217d3ba4720bb621521)
--HG--
branch : 6.0
The first shipment is already picked so it can not be reset to draft to update
the inventory moves.
Closes#12661
(grafted from ed525f3d64e1d1b11afe714a43e9b0b7c3044061)
--HG--
branch : 6.0
Depending of the day of the year, the amount deferred may vary of 2 days.
Closes#12545
(grafted from b2c54cf3d7a0db62c31cc4d04364c7b48a56c2cf)
--HG--
branch : 6.0
Since Stripe v6 the API version is set by the library instead of using the
configured default.
Closes#12641
(grafted from 4e94ed80b740983c932e047f8a439215d5d40028)
--HG--
branch : 6.0
The changeset 3a0931d04904 added a readonly states but the description is a
substitut to the product so it should be readonly like the product.
Closes#12555
(grafted from 940abe6442e1dda8ef6c0d8a9bc981fa27bf6151)
--HG--
branch : 6.0