diff options
| author | andreparames <github@andreparames.com> | 2015-04-21 11:32:50 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2015-04-23 16:02:21 +0200 |
| commit | d4aa2decde8b0017b99b5566783a26d2aa880abc (patch) | |
| tree | 20fcf85a766b37dba69f0112fd2bf1cb6d1b1c6e /addons/analytic_user_function/analytic_user_function.py | |
| parent | 7ada8734bc31ed2401fd7b70dae46a23293beeb6 (diff) | |
[FIX] web: onchange compare changes using === operator
The onchange handler is doing a weak comparison between the values received from
the onchange() method and the current field value, which leads to a falsy value
such as "0000" being treated as equal to False.
This patches changes the operator to enforce non-coercive equality.
Fixes #6405
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function.py')
0 files changed, 0 insertions, 0 deletions
