My manufacturing order has a custom many2one field. Here are codes
class cs_production(models.Model):
_inherit = 'mrp.production'
cust_id = fields.Many2one('res.partner', string='Client', required=False, change_default=True, index=True, copy=True)
If I create a new manufacturing order which uses nested BOM, obviously odoo generates multiple manufacturing orders according the structure of bom.
The problem is this, if odoo generates N manufacturing orders based on bom selected, the cust_id field value appears only in first manufacturing order where as it disappears from next orders.
Please guide me how to solve this problem. I'm using odoo v. 10