Hi,
I want to display the BOMs related to a product in the sale order line like so :
https://imgur.com/a/v6oF6BG
I've tried this :
bom_id = fields.Many2one("mrp.bom",string="Bill Of Material")
OR
bom_id = fields.Many2one("mrp.bom", related"product_id.bom_id.product_tmpl_id", string="Bill Of Material")
OR
bom_id = fields.One2Many("mrp.bom", "product_id", string="Bill Of Material")
Any idea ? Thanks in advance