Commit Graph

25 Commits

Author SHA1 Message Date
OCA-git-bot
cb5fd37c5f [BOT] post-merge updates 2023-12-14 14:04:15 +00:00
Jairo Llopis
b6ca76d338 [FIX] web_widget_numeric_step: always display on touch screens; avoid layout jumping otherwise
Before this patch:
- On a tablet, buttons wouldn't display (big screen; can't hover).
- On a PC, fields would make layout jumps while hovering.

@moduon MT-4472
2023-12-14 12:49:51 +00:00
OCA-git-bot
e39a1201cc [BOT] post-merge updates 2023-12-12 11:16:11 +00:00
Jairo Llopis
ffda6da374 [FIX] web_widget_numeric_step: disable buttons on readonly fields
Before this patch, if a field was readonly, the user could still use the +/- buttons to alter its value. Not good!

@moduon MT-4396
2023-12-12 11:05:06 +00:00
OCA-git-bot
dfa39504fc [BOT] post-merge updates 2023-12-12 11:04:09 +00:00
Jairo Llopis
d914b4eadc [IMP] web_widget_numeric_step: display always on mobile
Mobile screens benefit most from this module's enhanced usability.

However, since the events used for displaying/hiding the +/- buttons depend on mouse, at the end you'll never see these buttons on mobile screens.

Thus, here's a new approach: smaller screens *always* display the buttons.

Besides, inputmode is now decimal, just like upstream float fields.

@moduon MT-4396
2023-12-12 11:00:18 +00:00
OCA-git-bot
0fcc326ee1 [UPD] README.rst 2023-09-03 17:59:06 +00:00
OCA-git-bot
e7b01c2545 [UPD] README.rst 2023-05-02 10:42:48 +00:00
dsolanki
2b72477e08 [MIG] web_widget_numeric_step: Migration to 16.0 2023-03-21 11:12:55 +05:30
OCA-git-bot
614b7818ba [UPD] README.rst 2023-03-16 18:06:35 +05:30
OCA-git-bot
a7be36fc56 [UPD] README.rst 2023-03-16 18:06:35 +05:30
fshah
67c37332cb [IMP] web_widget_numeric_step: isort, black, prettier. 2023-03-16 18:06:35 +05:30
Alexandre D. Díaz
90bc0c46e1 [IMP] web_widget_numeric_step: Add auto_select option 2023-03-16 18:06:35 +05:30
OCA-git-bot
4c3f0c5f8a [UPD] README.rst 2023-03-16 18:06:35 +05:30
Carlos Roca
32a464dfcb [MIG] web_widget_numeric_step: Migration to v13 2023-03-16 18:06:35 +05:30
Carlos Roca
973fd6dde2 [IMP] web_widget_numeric_step: black, isort, prettier 2023-03-16 18:06:35 +05:30
Alexandre D. Díaz
92f0e6a481 [FIX] web_widget_numeric_step: Only modify widget parent 2023-03-16 18:06:35 +05:30
Ernesto Tejeda
76d239299b [IMP] web_widget_numeric_step: better visualization in list view cells 2023-03-16 18:06:35 +05:30
Alexandre Díaz
20c27852f7 [FIX] web_widget_numeri_step: Change click interval
Previous this commit, the task for auto-step can enter in a
infinite loop. Now only creates a new task if no other task is running.
2023-03-16 18:06:35 +05:30
Alexandre Díaz
dae7e4e21b [FIX] web_widget_numeric_step: Change number parse method
Previous this commit the widget only works with 'dots', with
this commit works using odoo parse method that support other separators.
2023-03-16 18:06:35 +05:30
Alexandre Díaz
322bb8cebf [IMP] web_widget_numeric_step: Event handler 2023-03-16 18:06:35 +05:30
Sergio Teruel
074418cb6f [FIX] web_widget_numeric_step: Fix _onChange input fields methods disabled by the widget 2023-03-16 18:06:35 +05:30
Alexandre Díaz
3e69323446 [FIX] web_widget_numeric_step: Float Precision 2023-03-16 18:06:35 +05:30
Alexandre Díaz
def062a759 [IMP] web_widget_numeric_step: Better CSS and supports mobile layouts 2023-03-16 18:06:35 +05:30
Quentin Dupont
a5ca0070df [ADD] Widget Numeric step 2023-03-16 18:06:35 +05:30