Skip to Content
Menu
This question has been flagged
1 Reply
1607 Views

     Hi Odoo!


So i am trying to implement a very basic feature. I have two companies currently. One stationed out of US, one out of China. Each company has different customers/vendors. So I have enabled multicompany and have assigned test customers, one to US, one to China, however it does not separate them. I have gone ahead and assigned the company to the user that i am working on, but still nothing works. I have gone through the "allowed companies" and "current companies", which still does nothing. On the customer it self i go to sales & purchase and under misc, the "company" field i assign it to the China company and still, it does not only show the china contact, but all. 


If i can have some guidance i'd greatly appreciate it! Thank you!

Avatar
Discard
Best Answer

You can use access rule in Menu : setting -> security -> access rule , And do record rule for your Object such as :

[('company_id','child_of',[user.company_id.id])]

Avatar
Discard