diff options
| author | Cristian Moncho <cristian.moncho@diagram.es> | 2016-08-11 10:18:04 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2016-12-09 14:37:21 +0100 |
| commit | 5ece76b71754b5d048ab9a2f99fd905fcefeac6b (patch) | |
| tree | 3e0dc3dd6fc3cd5c615b270f71ec36eb91945e30 /addons/auth_signup/controllers/main.py | |
| parent | 4792a669d3fb167800d5cdb3d2c03d2056b952f0 (diff) | |
[FIX] project: remove redundant context declaration
Declaring the keyword argument `context` in an API v7 `orm.browse_record` can
lead to mixed API v7/v8 inheritance bugs (`context` will be treated as a
function parameter instead of being injected in `self.env.context`). As the
context is already propagated in line 953, we can safely remove it from line
971.
Closes #13115
Diffstat (limited to 'addons/auth_signup/controllers/main.py')
0 files changed, 0 insertions, 0 deletions
