summaryrefslogtreecommitdiff
path: root/bin/tools/func.py
diff options
context:
space:
mode:
authorP. Christeas <p_christ@hol.gr>2010-11-23 15:56:54 +0200
committerP. Christeas <p_christ@hol.gr>2010-11-23 15:56:54 +0200
commit6e13dcb8a2d71dcdfbbb0d686f4c2dc2a48ada33 (patch)
treec135e351fba05e6e4c65e3efe14930cb51b40b12 /bin/tools/func.py
parentddb331f9442faa1cd8670e7267af46bce846be72 (diff)
orm: Return numeric uid at perm_read() when no access to res.user
If a res.user belongs to a company_id that the current user has no access to, perm_read() wouldn't be able to return results (but exception). Now, just skip the uid->login resolution and return the numeric value instead. bzr revid: p_christ@hol.gr-20101123135654-bslxfv93p10216d3
Diffstat (limited to 'bin/tools/func.py')
0 files changed, 0 insertions, 0 deletions