product_variant_multi, bom_variant_multi report Product Cost Structure throws exception

Bug #1036623 reported by Sasa Kostadinovic
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
Sasa Kostadinovic

Bug Description

I installed product_variant_multi, product_configurator, product_configurator_variant, tree_node and bom_variant_multi. When I select some product with defined BoM and call Product Cost Structure, system throws following exception:

_bom_explode() takes at least 6 arguments (5 given)

(<type 'exceptions.TypeError'>, TypeError('_bom_explode() takes at least 6 arguments (5 given)',), <traceback object at 0xb30bee64>)

It is because predefined _bom_explode() function in bom_variant_multi/bom_template.py. This function has 6 arguments. Problem occurs when I run Product Cost Structure report. System calls origin _bom_explode() function from mrp/report/price.py which has 5 arguments. Some advice how to fix this report, without unwanted impacts on system ?

Changed in openobject-addons:
assignee: nobody → Sasa Kostadinovic (sasaguster)
Revision history for this message
Tiemen ter Hoeven (tiemen) wrote :

All,

I'm experiencing the exact same problem as Sasa. Has a fix been developed to tackle this problem?

Thanks,

Tiemen

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.