Community mailing list archives

Re: Record rules

Houssine BAKKALI
- 01/05/2015 06:14:34

Hi Torvald,

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.

Le 5 janv. 2015 09:45, "Torvald Baade Bringsvor" <> a écrit :

I 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.


Torvald Baade Bringsvor
Bringsvor Consulting AS - Odoo (formerly OpenERP) implementation partner

Post to: