Odoo Help

Benoît Vézina
On 5/1/17, 9:19 AM

I think you should start by adding a reverse field to product.product to point out the bom

class ProductWithBom(models.Model):

    _inherit = "product.product"

    bom = fields.One2many(          
        string="Bill of material")

Then you should be able to access the bom corresponding the product from the product itself (may need so tweaking)

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 5/1/17, 4:25 AM
Seen: 625 times
Last updated: 5/1/17, 9:19 AM