Skip to Content
Menú
This question has been flagged
1 Respondre
1853 Vistes

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
Descartar
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
Descartar
Related Posts Respostes Vistes Activitat
0
de des. 23
1212
1
de jul. 23
2129
0
de març 25
3145
0
d’ag. 22
2754
0
de gen. 22
76