Odoo Help


One2many relation in Product

Diego Sucaria
on 2/26/14, 1:00 AM 1,394 views


This is a basic question, I am a PHP and MySQL programmer and this is new to me! I will appreciate any answer!

So, I've added a custom field (and view) called x_currency_id (many2one) to product.product. It works OK!! I can set a custom currency for each product.

Now, in the BOM model.... I want to show each product currency from the field I previusly added, but I can't get the relation to work...

I'm trying to add the field like this:

name-> x_product_currency
type-> one2many
Object Relationship -> res.currency
Field Relationship -> product_id.x_product_id

I have tried different setups, but none of them worked so far!

I appreciate any hint!! Thanks!

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.


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: 2/26/14, 1:00 AM
Seen: 1394 times
Last updated: 1/2/17, 2:52 PM