diff options
| author | Martin Trigaux <mat@odoo.com> | 2020-05-19 13:32:01 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2020-05-26 15:50:11 +0200 |
| commit | 1835d5a6a3f9c0f4a2860b71fb9d0e619f1213ca (patch) | |
| tree | 89b314033527df042b715cfcd45323d9cf335f20 /odoo/addons/base/security | |
| parent | 8deac894f818322a65b459f38e79878469961375 (diff) | |
[IMP] base: allow integer res_id
Before this commit, when retrieving a property, the res_id had to be
in the format <model>,<id>. This was redudant with the model already
present in the arguments of the method.
This way a property can be retrieved with the more concise form
`Property._get("ref", "res.partner", 42)`
Diffstat (limited to 'odoo/addons/base/security')
0 files changed, 0 insertions, 0 deletions
