Skip to Content
मेन्यू
This question has been flagged

In processes where components are shipped to suppliers and apart from receiving the final product, other secondary products of the production process are incoming, how to configure it with a subcontracting BOM?

Avatar
Discard
Best Answer

I have no idea why they disabled byproducts explicitly for subcontracting.

But you can disable this constraint in mrp_subcontracting

​ class MrpBom(models.Model):   
_inherit = 'mrp.bom'       

​@api.constrains('operation_ids', 'byproduct_ids', 'type')
​def _check_subcontracting_no_operation(self):   
​return True

You would afterwards need some push rule for the byproducts

Avatar
Discard
Related Posts Replies Views Activity
0
दिस॰ 23
1265
1
जुल॰ 23
2170
0
मार्च 25
3164
0
अग॰ 22
2780
0
जन॰ 22
76