Community mailing list archives
Re: Record rulesby
You just need to override the search method in invoice model adding or not the flag condition in the domain and call the super search method.
HiI have a case where I want to limit access to invoices. We have a flag (a boolean) and some users should only be allowed to see the invoices that have that flag set.I have tried to make a global rule to stop access to invoice alltogether, and then another (group) rule to allow access for the selected few. But no success.Do any of you have any examples of this? I see some people say to use properties, but I really can't see how that helps.We are using Odoo 8.-TorvaldTorvald Baade Bringsvor
Bringsvor Consulting AS - Odoo (formerly OpenERP) implementation partner