Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
All, I hope someone can help me with this issue:
- I would like to use calculated product cost prices, based on all costs in a bom
- To do this, I installed product_cost_incl_bom module, which is meant for exactly this
- Straight after installation, I get the following error: "_bom_explode() takes at least 6 arguments (5 given)"
I am on OE 6.1 using product_variant_multi and bom_variant_multi, although this I guess this in itself shouldn't cause issues.
Has anybody experienced this before?
Hi,The Problem may casused by module bom_variant_multi,
It Overloaded _bom_explode function.so when you install product_cost_incl_bom,it call the _bom_explode method,but it's parameter changed
def _bom_explode(self, cr, uid, bom, factor, product_id, orig_product_id=False,
properties=None, addthis=False, level=0):
sub_products, routes = bom_obj._bom_explode(cursor, user, bom,
def _bom_explode(self, cr, uid, bom, factor, properties=, addthis=False, level=0, routing_id=False):
Hope it will help you
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 4/14/14, 6:20 PM|
|Seen: 1140 times|
|Last updated: 3/16/15, 8:10 AM|