Odoo Help


This community 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.


Displaying both ends of Many2Many Model relationship in Views

Darryn Parker
on 9/5/13, 1:38 AM 782 views

I have two models that have a Many2Many relationship and I'm wondering how can I provide an action/link/field that will allow the end-user to view how each of these models relate to each other.


Model 1: Car PK: ID Field1: Name (char) Field2: Drivers (Many2Many2 - Driver (see below))

Model 2: Driver PK: ID Field1: Name (char)

I have defined the Many2Many relationship between Car and Driver in the Car Model and, to my understanding, that's all I need to do get get the Many2Many working.

I have a view that lists Cars and another that lists Drivers. In the Cars view, I'm able to add a field that will list and add/remove the Drivers associated with the Cars.

How can I achieve the same for the Driver view?


Atchuthan - Technical Consultant, Sodexis Inc

--Atchuthan - Technical Consultant, Sodexis Inc--
| 5 3 8
Puducherry, India
--Atchuthan - Technical Consultant, Sodexis Inc--
Passionate coder in Python/Odoo(formerly known as OpenERP).

Contact me via GMail: atchuthantu@gmail.com via Skype: atchuthan_skype
via Linkedin: http://in.linkedin.com/in/atchuthantu
Atchuthan - Technical Consultant, Sodexis Inc
On 9/5/13, 3:17 AM

Try this Link having question similar to yours:


I should also state that I need to perform this in the Web UI, not in code or developing a custom module.

Darryn Parker
on 9/5/13, 3:57 AM

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)


Asked: 9/5/13, 1:38 AM
Seen: 782 times
Last updated: 3/16/15, 8:10 AM