Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
1858 Vistas

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
Mejor respuesta

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
Publicaciones relacionadas Respuestas Vistas Actividad
0
dic 23
1238
1
jul 23
2130
0
mar 25
3147
0
ago 22
2755
0
ene 22
76