diff --git a/mrp_bom_structure_report/reports/mrp_report_bom_structure.py b/mrp_bom_structure_report/reports/mrp_report_bom_structure.py index f3a4a5f8..55fb8086 100644 --- a/mrp_bom_structure_report/reports/mrp_report_bom_structure.py +++ b/mrp_bom_structure_report/reports/mrp_report_bom_structure.py @@ -262,7 +262,7 @@ def _get_price(self, bom, factor): if line.child_bom_id: qty = line.product_uom_id._compute_quantity( line.product_qty * factor, - line.child_bom_id.product_uom_id) + line.child_bom_id.product_uom_id) / line.child_bom_id.product_qty sub_price = self._get_price(line.child_bom_id, qty) price += sub_price else: diff --git a/mrp_bom_structure_report/reports/mrp_report_bom_structure.xml b/mrp_bom_structure_report/reports/mrp_report_bom_structure.xml index 20bb276e..719943b3 100644 --- a/mrp_bom_structure_report/reports/mrp_report_bom_structure.xml +++ b/mrp_bom_structure_report/reports/mrp_report_bom_structure.xml @@ -25,7 +25,7 @@ Product BoM Quantity - Unit of Measure + Unit of Measure Product Cost BoM Cost Attachments @@ -40,7 +40,7 @@ - + @@ -63,7 +63,7 @@ Unit Cost - + @@ -106,7 +106,7 @@ - + @@ -134,7 +134,7 @@ - Minutes + Minutes @@ -158,7 +158,7 @@ - Minutes + Minutes @@ -192,7 +192,7 @@ - +