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.
Say I have three companies; CompanyA ,CompanyB and CompanyC. CompanyA and CompanyB both deal with the same customer; CustomerX.
How can I set up CustomerX so that I can invoice him from CompanyA and CompanyB but NOT let him be seen by CompanyC? (That is, I can't just leave the company field blank or CompanyC will be able to see him).
for each partner you need to select a company or allow empty the company that the partner is visible to everyone.
So what I ask to create a virtual company V that contains all object coummun between company A and company B (partners , users, products...) . A and B are childs V.
and create another company C.
so company A and company B both deal with the same customer but not let him be seen by company C.
So your structure will :
And if this solution does not meet your needs you have to do create a new module to change this logic .
you can start by see this line in res.partner:
'company_id': fields.many2one('res.company', 'Company', select=1),
change to :
'company_id': fields.many2many('res.company', id1='partner_id', id2='company_id', string='Company'),
and you will have many modificat.
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: 5/14/13, 7:34 PM|
|Seen: 2704 times|
|Last updated: 3/16/15, 8:10 AM|