Product purchase in non-reference unit do not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug Description
Steps to reproduce:
1) Create a second unit of measure "Box" which contains 10 reference units, ie warehouse=
Name="Box", UofM Type="Bigger than reference unit", Ratio=10.00, UofM Category="Unit",
Rounding precision="0.01"
2) Create a product (P1) that uses the default unit of measure for units (1 per unit), and the purchase unit of measure of "Box" (10 reference units), also set the cost to say 1.00.
3) Create a purchase order for the product P1 and purchase 1 box.
Result observed:
The unit price on the purchase order line is $100
Result expected:
The price should be $1.00 x 10 = $10.00
Other notes:
1) If the supplier is added to the product with a specific price per box it has no effect, ie the price on the PO line still shows as $100.0
2) When the product is receipted it does so correctly, ie 10 units of reference stock are received
OpenERP addons rev 4533