product_historical_margin does not calculate when UOM and po_uom are different

Bug #1289484 reported by E.R. Spada II
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Financial controlling and costing
New
Medium
Unassigned

Bug Description

This adds to the UOM bug I reported. This module does not take into account the actual sale uom on the sales_order_line. If the uom is unit(s)=1 it works, but if the same product po_uom is used for the sale - Case of 4, then the cost on the sales_margin is the uom cost, should be uom*4.

In the screen shot the cost shows 9.72 which is the unit cost, but the cost is acuutally 38.88. It is correct on the sales order line. This does relate to the same issue: #1266664 Calculated BOM is incorrect when Purchase UOM is different from product default UOM.
TX,
ER

Revision history for this message
E.R. Spada II (er-k) wrote :
Changed in margin-analysis:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.