Odoo Help

-2

Need the BoM(Bill Of materials) in quotations in ODOO 10.0

By
mani
on 5/1/17, 4:25 AM 314 views

we are Novice in ODOO and Python the all we need it's simple,

we need the BoM(Bill Of materials) in our quotations in ODOO 10.

0
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(          
        comodel_name='mrp.bom',
        inverse_name='product_id',
        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 platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

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)

Stats

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