Commit Graph

13 Commits (0405bacb3d4ac9cb1547e4a370569695e0b3236b)

Author SHA1 Message Date
Jairo Llopis 32efd460d4
[FIX] web_decimal_numpad_dot: Restore keyboard navigation
When https://github.com/OCA/web/pull/1154 switched to using `keydown` as the event to trigger the numpad dot replacement, it was actually [disabling upstream's `_onKeyDown()`][1], which in turn disabled the keyboard navigation.

To fix this situation, I replaced the method that is being used to directly override `_onKeyDown`.

[1]: 19558129f0/addons/web/static/src/js/fields/abstract_field.js (L41)
2019-01-18 07:33:45 +00:00
Jairo Llopis b2d15d10e3
[FIX] web_decimal_numpad_dot: Fix inconsistent behavior
When user was replacing some specific sections or being too fast, the module wasn't behaving fine. Also, it was always displaying the original `.` slightly before doing the replacement.
2019-01-15 10:49:44 +00:00
David Vidal 98adeba6e5 [FIX] web_decimal_numpad: float_time format (#1068)
Recover functionality from https://github.com/OCA/web/pull/720, which was lost in migration to Odoo v11.
2018-10-10 08:43:25 +01:00
oca-travis 6da843130b [UPD] Update web_decimal_numpad_dot.pot 2018-06-24 10:28:10 +00:00
Jordi Ballester Alomar fb07cf2777 fix tab navigation issue in web_decimal_numpad_dot 2018-05-25 18:03:43 +02:00
David Vidal 5543939b13 [FIX] web_decimal_numpad: extend FieldMonetary (#867) 2018-02-23 00:54:35 +01:00
David 6c11d0bd25 [MIG] web_decimal_numpad_dot: Migration to 11.0 2017-12-18 11:06:01 +01:00
Jairo Llopis 9a730cdf02 [FIX][IMP][web_decimal_numpad_dot] Support float time
- All Char widgets were getting affected by this behavior.
- Time float widgets now get ":" instead of "," or ".".
- Little code refactor.
- Only detect numpad dot, not normal dot and comma.
2017-12-18 10:39:04 +01:00
David Vidal aa1043ce90 [MIG] web_decimal_numpad_dot: Migration to 10.0 2017-12-18 10:39:04 +01:00
Roel Adriaans 4e33022a92 [IMP] web_decimal_numpad_dot: use the decimal_point defined in user language 2017-12-18 10:39:04 +01:00
Omar Castiñeira Saavedra 5a8ff40850 [IMP] web_decimal_numpad_dot: fixed float widget not working properly 2017-12-18 10:39:04 +01:00
oihane 04c92b6fed [IMP] web_decimal_numpad_dot: now changes . for , in floating numbers 2017-12-18 10:39:04 +01:00
oihane e41aeaf760 [ADD] New module <web_decimal_numpad_dot> 2017-12-18 10:39:04 +01:00