odoo
odoo copied to clipboard
[FIX] mrp: by-products readonly
Steps to reproduce:
- Complete a manufacturing order and validate it
- Unlock the manufacturing order
- Go to the by-products tab and attempt to add by-products or change the quantity of existing by-products
- Unable to select a product from the database
Bug:
the condition for readonly on the by-product product_id should be the same as its parent move readonly="state == 'cancel' or (state == 'done' and is_locked)
therefore I'am simply removing the atribute
opw-3992201