Odoo Help

0

Is there any relation between Customer and Project?

By
Jack
on 10/4/13, 9:33 AM 1,193 views

Hiii

Is there any relation between Customer and Project.

I have add “Project” Tab in which i have made one2many of "project.project" inside it in the partner form and i want to list all of the project related to that customer.

So Please help me.

Thanks Jack

0
Ray Carnes
On 10/7/13, 9:23 PM

Projects are related to partners, which means you just need to add a new field that uses partner_id to relate partners to projects.

name = 'project_ids', type = one2many, relation = project.project, relation field = partner_id, name = project_ids

project_ids : fields.one2many ( 'project.project', 'partner_id', 'Projects' );

Then you add this field to your new tab.

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

1 follower(s)

Stats

Asked: 10/4/13, 9:33 AM
Seen: 1193 times
Last updated: 3/16/15, 8:10 AM