Commit Graph

18 Commits (f22f00a2e37ade32b51f112a23e5d1d2edca14ed)

Author SHA1 Message Date
OCA-git-bot 20734e0c84 [UPD] README.rst 2021-05-28 16:23:48 +00:00
João Marques 59ee42ca42 [MIG] web_decimal_numpad_dot: Migration to 14.0 2021-05-27 12:39:19 +01:00
João Marques 0fc749287f [IMP] web_decimal_numpad_dot: black, isort, prettier 2021-05-27 12:37:04 +01:00
Jairo Llopis 6e2aeab262 [IMP] pre-commit run after update
Includes some manual fixes to silent ESLint warnings.
2021-05-27 12:37:04 +01:00
emagdalena 7a62fdfbfd [MIG] web_decimal_numpad_dot: Migration to 13.0 2021-05-27 12:37:04 +01:00
Jairo Llopis e2a42ff4af [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)
2021-05-27 12:37:04 +01:00
Jairo Llopis 301cd189cf [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.
2021-05-27 12:37:04 +01:00
ernesto d41e2d989d [MIG] web_decimal_numpad_dot: Migration to 12.0 2021-05-27 12:37:04 +01:00
David Vidal 2159e73670 [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.
2021-05-27 12:37:04 +01:00
Jordi Ballester Alomar b5fe81f23f fix tab navigation issue in web_decimal_numpad_dot 2021-05-27 12:37:04 +01:00
David Vidal 5a5cedce01 [FIX] web_decimal_numpad: extend FieldMonetary (#867) 2021-05-27 09:53:51 +01:00
David 73bf9902df [MIG] web_decimal_numpad_dot: Migration to 11.0 2021-05-27 09:53:51 +01:00
Jairo Llopis 02f3b9193a [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.
2021-05-27 09:53:51 +01:00
David Vidal 0c0e7fc4dc [MIG] web_decimal_numpad_dot: Migration to 10.0 2021-05-27 09:53:51 +01:00
Roel Adriaans 477c7c0c6a [IMP] web_decimal_numpad_dot: use the decimal_point defined in user language 2021-05-27 09:53:51 +01:00
Omar Castiñeira Saavedra d48e288b57 [IMP] web_decimal_numpad_dot: fixed float widget not working properly 2021-05-27 09:53:51 +01:00
oihane 126880d12a [IMP] web_decimal_numpad_dot: now changes . for , in floating numbers 2021-05-27 09:53:51 +01:00
oihane 4451f292fa [ADD] New module <web_decimal_numpad_dot> 2021-05-27 09:53:51 +01:00