Commit Graph

15 Commits (7316fdf16c9b5e4555bc1ac454d01cda8fe883ed)

Author SHA1 Message Date
Jairo Llopis 67f76e8fab
[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-21 09:41:24 +00:00
Jairo Llopis 75ac50be53
[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-17 10:58:31 +00:00
oca-travis a71c399b18 [UPD] Update web_decimal_numpad_dot.pot 2018-11-08 18:08:14 +00:00
ernesto 66a2c9631f [MIG] web_decimal_numpad_dot: Migration to 12.0 2018-11-08 18:39:52 +01:00
David Vidal eb0530b5e6 [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-11-08 18:39:52 +01:00
oca-travis 9bab7feffd [UPD] Update web_decimal_numpad_dot.pot 2018-11-08 18:39:52 +01:00
Jordi Ballester Alomar 56f7bad1c3 fix tab navigation issue in web_decimal_numpad_dot 2018-11-08 18:39:52 +01:00
David Vidal 797a6fc107 [FIX] web_decimal_numpad: extend FieldMonetary (#867) 2018-11-08 18:39:52 +01:00
David 11fa9ad5f8 [MIG] web_decimal_numpad_dot: Migration to 11.0 2018-11-08 18:39:52 +01:00
Jairo Llopis f892e30a6f [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.
2018-11-08 18:39:52 +01:00
David Vidal 28af79ac38 [MIG] web_decimal_numpad_dot: Migration to 10.0 2018-11-08 18:39:52 +01:00
Roel Adriaans 1225b34723 [IMP] web_decimal_numpad_dot: use the decimal_point defined in user language 2018-11-08 18:39:52 +01:00
Omar Castiñeira Saavedra 414dc03fae [IMP] web_decimal_numpad_dot: fixed float widget not working properly 2018-11-08 18:39:52 +01:00
oihane 8cd453b114 [IMP] web_decimal_numpad_dot: now changes . for , in floating numbers 2018-11-08 18:39:52 +01:00
oihane b6f9d0ec09 [ADD] New module <web_decimal_numpad_dot> 2018-11-08 18:39:52 +01:00