product_variant_multi, bom_variant_multi report Product Cost Structure throws exception

Bug #1036608 reported by Sasa Kostadinovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Invalid
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 ?

affects: openobject-client-web → ubuntu
Changed in ubuntu:
assignee: nobody → Sasa Kostadinovic (sasaguster)
Revision history for this message
Aaron Hill (techsavvy8989) wrote :

What versions of Ubuntu is this reproducible on?

Revision history for this message
Sasa Kostadinovic (sasaguster) wrote :

Ubuntu 12.04

Changed in ubuntu:
status: New → Invalid
affects: ubuntu → openobject-addons
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.