diff options
| author | jvm-odoo <jvm@odoo.com> | 2020-05-06 07:00:35 +0000 |
|---|---|---|
| committer | jvm-odoo <jvm@odoo.com> | 2020-05-12 08:28:27 +0000 |
| commit | 3a11b9e757d0b649f434f78eec2cd35b52e27a28 (patch) | |
| tree | cb955ff99b9051d7f242218fb32eb3359f9bd071 /addons/note | |
| parent | e3c303e6cb7274a6c257194cca011e473d9f3028 (diff) | |
[FIX] web: fix statusbar option conversion
Issue
- Install Projects
- All Tasks > Form View
- Edit the view
- Set statusbar clickable to '0'
Still clickable
Cause
In relational_field.js we do
`!!'0'` which returns true
like `!!'anythingelse'`
Solution
Add a '+' which will convert
the value into an integer
for a better conversion.
OPW-2235311
closes odoo/odoo#51083
X-original-commit: 53cc68fce32f46a0b4bc83a1e73a5d13a60fc995
Signed-off-by: Jason Van Malder (jvm) <jvm@odoo.com>
Diffstat (limited to 'addons/note')
0 files changed, 0 insertions, 0 deletions
