Hi everyone,
We are trying use Odoo Project management in our Odoo 8 , but we are hitting quite a big bump due to multi company.
i want the project manager can see all the project in multiple companies , i added the rule[(1, '=', 1)] in Project:multi company
Also this code : record id="project.admin_project" model="ir.rule">
<field name="domain_force">['|',('company_id','in',[c.id for c in user.company_ids]),('company_id','=',False)]</field></record>
but it did not work for me
i m really looking for a solution here .. if anyone can help
Thanks Pinakin for your answer but it doesn't work
Hello,
I updated my answer. There is already one multi company rule. So either you can update that rule or disable that rule and create new one. Existing rule "Project: multi-company"
Hi Pinakin,
I disabled the rule : Project: multi-company with ['|',
('company_id', '=', False),
('company_id', 'child_of', [user.company_id.id]),
]
and i created a new rule Project1:multi-company :['|',('company_id','in',[c.id for c in user.company_ids]),('company_id','child_of',[c.id for c in user.company_ids])]
but same thing the project manager can't see all the project when he connects with any company
Have you configured allowed companies in your Project Manager ?? https://drive.google.com/file/d/1tZ000siinQofNluRZ76798QOKr54vWAd/view?usp=drivesdk