Reputation: 253
I'm creating a new module for Odoo13, and my intention is to set the module so only users of OpenERP company (which currently has id = 2) can see the module.
I just created a filter in Odoo as follows (also tried many variations):
But it's not working :'(
Upvotes: 0
Views: 47
Reputation: 2444
You have to check the id
not the string
for filtration.
Domain : [('company_id', '=', 2)]
So to compare with this it will check the company has the id
with 2.
Upvotes: 1