This question has been flagged

When I try to confirm a Manufacturing Order, it gives the below given error. Please note that I have install Vauxoo's "MRP Workorder Lot" -


 File "/opt/odoo/.local/share/Odoo/addons/8.0/mrp_workorder_lot/model/mrp_workorder_lot.py", line 158, in action_compute

cr, uid, [production.id], context=context)

File "/opt/odoo/odoo8/openerp/api.py", line 250, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo/.local/share/Odoo/addons/8.0/mrp_workorder_lot/model/mrp_workorder_lot.py", line 364, in create_wo_dict

context=context) or (1, product_qty, False)

File "/opt/odoo/odoo8/openerp/api.py", line 250, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo/.local/share/Odoo/addons/8.0/mrp_workorder_lot/model/mrp_workorder_lot.py", line 185, in get_wc_capacity

for bom in production.bom_id.bom_lines:

ValueError: "'mrp.bom' object has no attribute 'bom_lines'" while evaluating

u'action_confirm()'

Avatar
Discard