Odoo Help

1

simple one2many and many2one relation example

By
Soohoo
on 1/7/14, 4:09 AM 3,052 views

I wanted a simple many2one and one2many example , where in one2many relation in view file it can able to select the already added rows

Please help

Thanks and regard Abhishek

1
youta
On 12/31/15, 5:58 AM

Hello there,

I've been confused too to understand these relationships, until I found this simple example explaining it quite well.

http://findnerd.com/list/view/Create-many2one-and-one2many-relationship-in-OpenERP/508/

Good suggestion @ Youta +1

Ankit H Gandhi(AHG)
on 1/3/16, 8:17 AM
0
Nilim
On 1/12/16, 1:45 AM

 For the many to one query, one simple example can be the TITLES of Individuals corresponding to users. For E.g. While creating a customer, that particular customer can be defined any one of the TITLE from the drop down list present in the field TITLE. This is a perfect example of Many to one.


For the one to many query, one simple example can be that one particular product can be present in multiple sales order irrespective of sales order.


Hope its helps.


Cheers

Your Answer

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

Question tools

0 follower(s)

Stats

Asked: 1/7/14, 4:09 AM
Seen: 3052 times
Last updated: 1/12/16, 1:45 AM