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