Commit Graph
5 Commits
Author SHA1 Message Date
Cédric Krier be04c9d75b Normalize price ratio from component quantity
The price ratio is used to convert unit price of kit into unit price of
component so it must be for 1 unit or the component.

issue11874
review424221004
(grafted from 3127dbf9cd1537f07181161779d9bff7c0d3ebcb)

--HG--
branch : 6.0
2022-11-24 19:19:50 +01:00
Cédric Krier 5d97bda0d4 Convert invoiced quantity into the order line unit
And only after applying the price ratio, we can convert from the price from the
component unit to the move unit.

issue10800
review375611002
(grafted from f4a92834bdb5a213cdacf6f53b28beea6612fc35)

--HG--
branch : 6.0
2021-10-02 15:29:44 +02:00
Cédric Krier c653f865be Convert quantity into parent uom
The component line is computed based on the parent quantity.

issue10325
review334231002
2021-04-25 17:52:36 +02:00
Cédric Krier 8da3a19b5f Check rule only if _check_access is set and enforce companies rule
issue4080
review343891009
2021-04-10 23:46:23 +02:00
Cédric Krier 2a62a07188 Add product kit module
issue9391
review321571002
2021-04-10 16:06:47 +02:00