openerp-community team mailing list archive
-
openerp-community team
-
Mailing list archive
-
Message #04558
Re: How to debug Record Rules?
You should debug inside of domain_get method of ir.rule model to know wish
rules get applied always check for the model_name that you want to debug
for their ir.rules
hope this helps
On Wed, Jan 22, 2014 at 12:28 PM, Daniel Reis <dgreis@xxxxxxx> wrote:
> I need to ask for some advice on this:
>
> I have some custom record access rule, and have found some cases where the
> users are having unwanted access denied errors.
> My problem is that it's hard to trace how the record rules end up being
> mixed together and figuring out what's wrong.
>
> Currently, I have to debug into the ORM, and often end up checking long
> ORM-generated SQL sentences, but it's very time consuming.
> I'm hoping someone knows a better technique to sort this out.
>
> Thanks in advance.
>
> /DR
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-community
> Post to : openerp-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-community
> More help : https://help.launchpad.net/ListHelp
>
>
References