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.
About This Community
Odoo Training Center
|Asked: 10/4/13, 9:33 AM|
|Seen: 1218 times|
|Last updated: 3/16/15, 8:10 AM|