Commit Graph

844 Commits (a2623f2c0d8864315ba9ea1a2757e9ad4dbdea47)

Author SHA1 Message Date
Jairo Llopis 57ce599883 [FIX] web_widget_numeric_step: restore tab navigation
Before this patch, when navigating inputs hitting <kbd>TAB</kbd>, you were stopped before any numeric step input.

Now, you can navigate as usual and use Odoo without a 🐁.

@moduon MT-4657
2024-12-23 12:11:10 +01:00
Jairo Llopis 714d7abb00 [FIX] web_widget_numeric_step: no input focus on touch screens
If you're using a tablet and click on the  or  buttons created by this module, the result was that the numeric input related to that button got focused.

On tablets, that means that the on-screen keyboard pops up. This usually triggers a layout recalculation and becomes clunky. Besides, it's useless, because if you wanted to use the keyboard, you'd have clicked on the input by yourself, and not in one of those buttons.

After this change, when using a touch screen, if you click on the +/- buttons, you won't auto-focus on the input. Thus, the keyboard won't show up.

@moduon MT-4472
2024-12-23 12:11:10 +01:00
Jairo Llopis 0d3ab6c305 [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
2024-12-23 12:11:10 +01:00
Jairo Llopis 2b7d748937 [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
2024-12-23 12:11:10 +01:00
Jairo Llopis 7722b38721 [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
2024-12-23 12:11:10 +01:00
mymage f2debadab9 Translated using Weblate (Italian)
Currently translated at 100.0% (3 of 3 strings)

Translation: web-16.0/web-16.0-web_widget_numeric_step
Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_widget_numeric_step/it/
2024-12-23 12:11:10 +01:00
Ivorra78 0886ebd587 Translated using Weblate (Spanish)
Currently translated at 100.0% (3 of 3 strings)

Translation: web-16.0/web-16.0-web_widget_numeric_step
Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_widget_numeric_step/es/
2024-12-23 12:11:10 +01:00
dsolanki c7cae98637 [MIG] web_widget_numeric_step: Migration to 16.0 2024-12-23 12:11:10 +01:00
dsolanki 9e555ca180 [IMP] web_widget_numeric_step: pre-commit stuff 2024-12-23 12:11:10 +01:00
Thanakrit Pintana 7a51f08a6b [MIG] web_widget_numeric_step: Migration to 15.0 2024-12-23 12:11:10 +01:00
Corneliuus 48a11270de Added translation using Weblate (German) 2024-12-23 12:11:10 +01:00
helly 83a6321c49 [MIG] Migrate module web_widget_numeric_step to v14. 2024-12-23 12:11:10 +01:00
fshah 8f82b0a673 [IMP] web_widget_numeric_step: isort, black, prettier. 2024-12-23 12:11:10 +01:00
Alexandre D. Díaz b2f183e64c [IMP] web_widget_numeric_step: Add auto_select option 2024-12-23 12:11:10 +01:00
Alessandro Fiorino 400a6bbd16 Added translation using Weblate (Italian) 2024-12-23 12:11:10 +01:00
Carlos Roca 64267339c2 [MIG] web_widget_numeric_step: Migration to v13 2024-12-23 12:11:10 +01:00
Carlos Roca d3c0c9eef0 [IMP] web_widget_numeric_step: black, isort, prettier 2024-12-23 12:11:10 +01:00
Alexandre D. Díaz df7a3011e3 [FIX] web_widget_numeric_step: Only modify widget parent 2024-12-23 12:11:10 +01:00
Ernesto Tejeda c52cc95378 [IMP] web_widget_numeric_step: better visualization in list view cells 2024-12-23 12:11:10 +01:00
claudiagn 3c23347e2e Added translation using Weblate (Spanish) 2024-12-23 12:11:10 +01:00
Alexandre Díaz 2e2f09c465 [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.
2024-12-23 12:08:29 +01:00
Alexandre Díaz 3a2355227a [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.
2024-12-23 12:08:29 +01:00
Alexandre Díaz a1db96ce43 [IMP] web_widget_numeric_step: Event handler 2024-12-23 12:08:29 +01:00
Sergio Teruel 18a979bcd3 [FIX] web_widget_numeric_step: Fix _onChange input fields methods disabled by the widget 2024-12-23 12:08:29 +01:00
Alexandre Díaz 20bae6ce80 [FIX] web_widget_numeric_step: Float Precision 2024-12-23 12:08:29 +01:00
Alexandre Díaz 15390ea18f [IMP] web_widget_numeric_step: Better CSS and supports mobile layouts 2024-12-23 12:08:29 +01:00
Quentin Dupont 05ec5b7182 [ADD] Widget Numeric step 2024-12-23 12:08:29 +01:00
mymage 20a9a82076 Translated using Weblate (Italian)
Currently translated at 100.0% (3 of 3 strings)

Translation: web-17.0/web-17.0-web_widget_dropdown_dynamic
Translate-URL: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_widget_dropdown_dynamic/it/
2024-12-23 12:37:31 +05:30
Weblate 987ecbe100 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-17.0/web-17.0-web_widget_dropdown_dynamic
Translate-URL: https://translation.odoo-community.org/projects/web-17-0/web-17-0-web_widget_dropdown_dynamic/
2024-12-23 12:37:31 +05:30
OCA-git-bot ee04460919 [BOT] post-merge updates 2024-12-23 12:37:31 +05:30
oca-ci cd54e1fb11 [UPD] Update web_widget_dropdown_dynamic.pot 2024-12-23 12:37:31 +05:30
Carlos Roca 2e8820796a [MIG] web_widget_dropdown_dynamic: Migration to 17.0 2024-12-23 12:37:31 +05:30
Carlos Roca 9e415ab1a1 [IMP] web_widget_dropdown_dynamic: pre-commit auto fixes 2024-12-23 12:37:31 +05:30
mymage 4d0684467e Added translation using Weblate (Italian) 2024-12-23 12:37:31 +05:30
sonhd91 6c450913fa [16.0][MIG]web_widget_dropdown_dynamic: Migrate to version 16.0 2024-12-23 12:37:31 +05:30
Goncalo Brito 331fe6f5e4 [16.0][MIG] web_widget_dropdown_dynamic 2024-12-23 12:37:31 +05:30
Thanakrit Pintana d1c532e80d [MIG] web_widget_dropdown_dynamic: Migration to 15.0 2024-12-23 12:37:31 +05:30
Thanakrit Pintana c99849c414 [IMP] web_widget_dropdown_dynamic: black, isort, prettier 2024-12-23 12:37:31 +05:30
Corneliuus b4d9c17375 Translated using Weblate (German)
Currently translated at 100.0% (1 of 1 strings)

Translation: web-14.0/web-14.0-web_widget_dropdown_dynamic
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_widget_dropdown_dynamic/de/
2024-12-23 12:37:31 +05:30
Corneliuus 4f907e8c7f Added translation using Weblate (German) 2024-12-23 12:37:31 +05:30
Ronald Portier e7b3b60302 [MIG] web_widget_dropdown_dynamic: Migration to 14.0 2024-12-23 12:37:31 +05:30
Ronald Portier 828db6b26a [IMP] web_widget_dropdown_dynamic: black, isort, prettier 2024-12-23 12:37:31 +05:30
claudiagn ac04b1591f Translated using Weblate (Spanish)
Currently translated at 100.0% (1 of 1 strings)

Translation: web-13.0/web-13.0-web_widget_dropdown_dynamic
Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_widget_dropdown_dynamic/es/
2024-12-23 12:37:31 +05:30
claudiagn f0050d3fa5 Added translation using Weblate (Spanish) 2024-12-23 12:37:31 +05:30
Alexey Pelykh 105e14b6dd [UPD] Brainbean Apps => CorporateHub 2024-12-23 12:37:31 +05:30
Alexey Pelykh 88d09ba309 [MIG] web_widget_dropdown_dynamic: Migration to 13.0 2024-12-23 12:37:31 +05:30
Alexey Pelykh dce8707813 [IMP] web_widget_dropdown_dynamic: black, isort, prettier 2024-12-23 12:37:31 +05:30
Alexey Pelykh c0910bf5c4 [ADD] web_widget_dropdown_dynamic
[UPD] Update web_widget_dropdown_dynamic.pot

[UPD] Update web_widget_dropdown_dynamic_example.pot

[UPD] README.rst

[ADD] icon.png

[UPD] README.rst
2024-12-23 12:37:31 +05:30
OCA-git-bot e98568f859 [BOT] post-merge updates 2024-12-20 09:51:01 +00:00
OCA-git-bot 464bb1aa44 Merge PR #3027 into 18.0
Signed-off-by pedrobaeza
2024-12-20 09:47:10 +00:00