Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Hi Friends ,
First I thank everyone , who give such support for newbie . Friends I have question regards Relational Types - related .
Right now i can't find any difference between many2one & related field properties .
I like to know at which situation , we will make use of related fields.
Friends if you explain with example , It make more understand for me ... And once again Thank for everyone .
Thanks & Regards OMPRAKASH.A
fields.many2one just allows to have access to the column name or _rec_name of table in relation given in many2one fields.
fields.related allows to have access to all colums in relation given in many2one fields, no just field name or _rec_name. But for this all columns, if a field is a fields many2one, you can have access to all columns of a third table ....
Is this clear ?
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
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
|Asked: 5/27/13, 1:19 PM|
|Seen: 1130 times|
|Last updated: 7/10/15, 12:10 PM|