Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
1872 Prikazi

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
Opusti
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
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
dec. 23
1267
1
jul. 23
2171
0
mar. 25
3164
0
avg. 22
2786
0
jan. 22
76