Commit Graph

1181 Commits (02175423e5ea8d3bcff42becba7f896def1b274c)

Author SHA1 Message Date
Jairo Llopis 360356aa62 [FIX] web_widget_numeric_step: list view column min width
Default width is too narrow for these fields in list views, which makes it uncomfortable to use in desktops.

@moduon MT-4472
2024-08-06 08:59:25 +02:00
Jairo Llopis fd36a3bbdd [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-08-06 08:59:25 +02:00
Jairo Llopis 78c0924e50 [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-08-06 08:59:25 +02:00
Jairo Llopis 9a16a74ea2 [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-08-06 08:59:25 +02:00
Jairo Llopis 886ae3dc55 [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-08-06 08:59:25 +02:00
Jairo Llopis a9c6da55df [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-08-06 08:59:25 +02:00
mymage cd46f8958a 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-08-06 08:59:25 +02:00
Ivorra78 7082b6cfa3 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-08-06 08:59:25 +02:00
dsolanki 555edab290 [MIG] web_widget_numeric_step: Migration to 16.0 2024-08-06 08:59:25 +02:00
dsolanki fec3d9db91 [IMP] web_widget_numeric_step: pre-commit stuff 2024-08-06 08:59:25 +02:00
Thanakrit Pintana b389db6930 [MIG] web_widget_numeric_step: Migration to 15.0 2024-08-06 08:59:25 +02:00
Corneliuus 2ae3d3ca9d Added translation using Weblate (German) 2024-08-06 08:59:25 +02:00
helly 81c91d64e5 [MIG] Migrate module web_widget_numeric_step to v14. 2024-08-06 08:59:25 +02:00
fshah f04fd0d750 [IMP] web_widget_numeric_step: isort, black, prettier. 2024-08-06 08:59:25 +02:00
Alexandre D. Díaz 0fc5f03b0b [IMP] web_widget_numeric_step: Add auto_select option 2024-08-06 08:59:25 +02:00
Alessandro Fiorino 905533633e Translated using Weblate (Italian)
Currently translated at 100.0% (3 of 3 strings)

Translation: web-13.0/web-13.0-web_widget_numeric_step
Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_widget_numeric_step/it/
2024-08-06 08:59:25 +02:00
Alessandro Fiorino fa5753ba38 Added translation using Weblate (Italian) 2024-08-06 08:59:25 +02:00
Carlos Roca 251b874cdc [MIG] web_widget_numeric_step: Migration to v13 2024-08-06 08:59:25 +02:00
Carlos Roca 8b817ee133 [IMP] web_widget_numeric_step: black, isort, prettier 2024-08-06 08:32:55 +02:00
Alexandre D. Díaz 880a658f92 [FIX] web_widget_numeric_step: Only modify widget parent 2024-08-06 08:32:55 +02:00
Ernesto Tejeda 69321499d3 [IMP] web_widget_numeric_step: better visualization in list view cells 2024-08-06 08:32:55 +02:00
claudiagn d7ca9a6a80 Translated using Weblate (Spanish)
Currently translated at 100.0% (3 of 3 strings)

Translation: web-12.0/web-12.0-web_widget_numeric_step
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_widget_numeric_step/es/
2024-08-06 08:32:55 +02:00
claudiagn 54925840c4 Added translation using Weblate (Spanish) 2024-08-06 08:32:55 +02:00
Alexandre Díaz 8e14d55a58 [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-08-06 08:32:55 +02:00
Alexandre Díaz dc274e615b [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-08-06 08:32:55 +02:00
Alexandre Díaz 2d4ad4fb44 [IMP] web_widget_numeric_step: Event handler 2024-08-06 08:32:55 +02:00
Sergio Teruel 73bfa2d208 [FIX] web_widget_numeric_step: Fix _onChange input fields methods disabled by the widget 2024-08-06 08:32:55 +02:00
Alexandre Díaz dbeb938d06 [FIX] web_widget_numeric_step: Float Precision 2024-08-06 08:32:55 +02:00
Alexandre Díaz cafa6fefed [IMP] web_widget_numeric_step: Better CSS and supports mobile layouts 2024-08-06 08:32:55 +02:00
Quentin Dupont c3ad285c19 [ADD] Widget Numeric step 2024-08-06 08:32:55 +02:00
manu 6889933054 [MIG]web_widget_image_download: Migration to 17.0 2024-08-02 08:36:19 +02:00
manu 679fe16aa1 [IMP] web_widget_image_download: black, isort, prettier 2024-08-02 08:36:19 +02:00
Weblate bc1dc69551 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-16.0/web-16.0-web_widget_image_download
Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_widget_image_download/
2024-08-02 08:36:19 +02:00
manu ba292d21fb [MIG]web_widget_image_download: Migration to 16.0 2024-08-02 08:36:19 +02:00
Weblate 190c06623e Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-15.0/web-15.0-web_widget_image_download
Translate-URL: https://translation.odoo-community.org/projects/web-15-0/web-15-0-web_widget_image_download/
2024-08-02 08:25:57 +02:00
mymage 9756346fb3 Translated using Weblate (Italian)
Currently translated at 100.0% (1 of 1 strings)

Translation: web-15.0/web-15.0-web_widget_image_download
Translate-URL: https://translation.odoo-community.org/projects/web-15-0/web-15-0-web_widget_image_download/it/
2024-08-02 08:25:57 +02:00
OCA-git-bot 4946f4f039 [UPD] README.rst 2024-08-02 08:25:57 +02:00
OCA-git-bot 83601e14ad [UPD] README.rst 2024-08-02 08:25:57 +02:00
oca-ci f8abff8583 [UPD] Update web_widget_image_download.pot 2024-08-02 08:25:57 +02:00
manu 53c78e1085 [MIG]web_widget_image_download: Migration to 15.0 2024-08-02 08:25:57 +02:00
Alessandro Fiorino 89efe8d9f3 Translated using Weblate (Italian)
Currently translated at 100.0% (1 of 1 strings)

Translation: web-14.0/web-14.0-web_widget_image_download
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_widget_image_download/it/
2024-08-02 08:25:57 +02:00
Alessandro Fiorino 6a43a1ac78 Added translation using Weblate (Italian) 2024-08-02 08:25:57 +02:00
OCA-git-bot de42f8470b [UPD] README.rst 2024-08-02 08:25:57 +02:00
oca-travis 89c5a5129f [UPD] Update web_widget_image_download.pot 2024-08-02 08:25:57 +02:00
Peerapong-Supasompob 77c4c56196 [14.0][MIG] web_widget_image_download 2024-08-02 08:25:57 +02:00
Peerapong-Supasompob 903d5252e5 [IMP] web_widget_image_download: black, isort, prettier 2024-08-02 08:25:57 +02:00
claudiagn 0059cb79d4 Translated using Weblate (Spanish)
Currently translated at 100.0% (1 of 1 strings)

Translation: web-13.0/web-13.0-web_widget_image_download
Translate-URL: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_widget_image_download/es/
2024-08-02 08:25:57 +02:00
claudiagn 1269ce3b0d Added translation using Weblate (Spanish) 2024-08-02 08:25:57 +02:00
OCA-git-bot 3350c24a94 [UPD] README.rst 2024-08-02 08:25:57 +02:00
OCA-git-bot 98e6b7b263 [UPD] README.rst 2024-08-02 08:25:57 +02:00