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 @@