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.
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.
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
|Asked: 10/4/13, 9:33 AM|
|Seen: 789 times|
|Last updated: 3/16/15, 8:10 AM|