diff options
| author | alt-odoo <alt@odoo.com> | 2020-05-06 14:57:35 +0000 |
|---|---|---|
| committer | alt-odoo <alt@odoo.com> | 2020-05-07 08:14:16 +0000 |
| commit | a3049d13000fce63541207cc80d5239ddde02307 (patch) | |
| tree | 65bf76ce3038574a11ef5f7e584c97d3f50b8111 /addons/web/static/src/js/fields/basic_fields_owl.js | |
| parent | e997bf14b344accba9e0ca14d70b878d9e95aa61 (diff) | |
[FIX] mail: variable not referenced before assignment
In case of generic activity user type, if the referenced field does not exist
in the linked model, we should not raise an UnboundLocalError and use the
current user as a fallback case instead.
closes odoo/odoo#50802
X-original-commit: 554a7cc400b4e1d8cda835e445b152f146bb0003
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Signed-off-by: Alex Tuyls <alt-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields_owl.js')
0 files changed, 0 insertions, 0 deletions
