Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
1883 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
dec. 23
1300
1
jul. 23
2205
0
mrt. 25
3205
0
aug. 22
2828
0
jan. 22
76