> But when a "*read*" operation is executed, the request is logged but no
> response is generated, no error appears in log file, and the "AccessDenied"
> is sent to the XMLRPC client:
>
> 2013-03-21 04:44:08,898 21656 INFO ? werkzeug: 192.168.1.52 - -
> [21/Mar/2013 04:44:08] "POST /xmlrpc/object HTTP/1.0" 200 -
> 2013-03-21 04:44:08,901 21656 DEBUG ? openerp.netsvc.rpc.request:
> object.execute('MDI', 1, '*', 'res.company', 'read', [1], ['currency_id'])
>
> (No debug message about response generation when a "read" operation is
> performed).
>
> I have no idea why these AccessDenied are not logged and why the response
> is not being generated and logged correctly.
>
> *Another hint to get fine-grained debug logs?*
the parameter --log-sql makes the server log every sql statement issued, this
creates a lot of noise but should help.
Given that the last thing is trying to read the company's currency_id, did you
verify the permissions for res.currency?
--
Therp - Maatwerk in open ontwikkeling
Holger Brunn - Ontwerp en implementatie
mail: [email protected]
web: http://therp.nl
_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-community
More help : https://help.launchpad.net/ListHelp