Odoo Help


How to have more than one many2one field for a method?

Uppili Arivukkannu
on 10/6/16, 9:40 AM 429 views


I have a table material_code I have fields like m_category, name, code.

I have an another table material_example I have same fields m_category, name, code.

I have to set the all the three fields as many2one which is related to the all three fields of the material_example.

But only one field can be set as many2one and it only takes "name" field from material_example.

How can I get all the three fields and relate them with?

Please help me with an example code

Thank you

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: 10/6/16, 9:40 AM
Seen: 429 times
Last updated: 10/6/16, 2:24 PM