diff options
| author | P. Christeas <p_christ@hol.gr> | 2010-11-23 15:56:54 +0200 |
|---|---|---|
| committer | P. Christeas <p_christ@hol.gr> | 2010-11-23 15:56:54 +0200 |
| commit | 6e13dcb8a2d71dcdfbbb0d686f4c2dc2a48ada33 (patch) | |
| tree | c135e351fba05e6e4c65e3efe14930cb51b40b12 /bin/sql_db.py | |
| parent | ddb331f9442faa1cd8670e7267af46bce846be72 (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/sql_db.py')
0 files changed, 0 insertions, 0 deletions
