This question has been flagged
1 Reply
1661 Views

Hi Odoo team,

I just trial odoo online for manufacturing features in v14.0(with work center and operations <routing in v13>). It looks there is a serious bug for  Manufacturing app, since it breaks the conept of "work center" and "operations" defined in BOM.

BOM: 
product A shall be manufactured by step 1, 2, 3 and in work center A,B,C correspondingly.
i.e.  step1 in work center A; then step2 in work center B; then step 3 in work center C.
This is defined in the BOM for product A in it's "Operations" tab.

Then after I create some MO for it, in the Manufacturing app -- Planning (menu) -- Plannings by Work Center, gantt view, I can drag & drop the WO to any other work center! (even those work centers are not defined as alternative at all). (e.g.   the step1 was shall in work center A; but can drap &drop to anyother work center!)

I guess this is a SERIOUS BUG in Manufacturing app? as its totally breaking the concept of work center and the definiation of BOM.
Just imaging, how can you perform an assembly task in a Drill Station?
The correct work center defined in BOM are totally not respected!

-- btw, not sure whether this the same existing in odoo13 or not.


Please kindly confirm or decline. Thanks!

Avatar
Discard
Best Answer

"-- btw, not sure whether this the same existing in odoo13 or not."

>> Just tried in 13.0, same behavior.

 

One line change is enough as workaround, if totally disable changing work center is acceptable for you:

# the "MrpWorkorder.write" method in mrp_workorder.py

if workorder.workcenter_id.id != values['workcenter_id']:
    raise UserError(_("Cannot change work center"))  # add this line
Avatar
Discard
Author

Thanks a lot!