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.
For certain reasons, I want to allow BoM-component to appear in the Bom list with a quantity set to zero. I have edited the mrp.py line 235-236 to skip the qty check and deleted the mrp_bom_qty_zero constraint from the Model Constraint panel in the browser client. Still, when trying to import data where qty=0 appears, I get the error "new row for relation "mrp_bom" violates check constraint "mrp_bom_bom_qty_zero" ".
Where can I completely disable this constraint?
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: 9/19/14, 5:27 AM|
|Seen: 738 times|
|Last updated: 3/16/15, 8:10 AM|