diff --git a/web_widget_numeric_step/README.rst b/web_widget_numeric_step/README.rst index eed8b55a3..74be0bce2 100644 --- a/web_widget_numeric_step/README.rst +++ b/web_widget_numeric_step/README.rst @@ -2,10 +2,13 @@ Web Widget Numeric Step ======================= -.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:ed5b95972503b3ab497d91d69e432b90c9aff241888b2525cb6d8648a7e7fe5f + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status @@ -14,16 +17,16 @@ Web Widget Numeric Step :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github - :target: https://github.com/OCA/web/tree/15.0/web_widget_numeric_step + :target: https://github.com/OCA/web/tree/16.0/web_widget_numeric_step :alt: OCA/web .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/web-15-0/web-15-0-web_widget_numeric_step + :target: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_widget_numeric_step :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/162/15.0 - :alt: Try me on Runbot +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=16.0 + :alt: Try me on Runboat -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| This widget changes input number field and make it easier to increment the number thanks to 2 buttons (+ and -). Use JS native logic for input number, so you can use the options ``min``, ``max``, ``step``, ``placeholder``. @@ -42,7 +45,7 @@ In your xml view, add ``widget="numeric_step"`` This will add the 2 buttons "+" and "-" just next to the input field in edit mode. Iteration step by default is 1. -.. figure:: https://raw.githubusercontent.com/OCA/web/15.0/web_widget_numeric_step/static/description/add_two_buttons.png +.. figure:: https://raw.githubusercontent.com/OCA/web/16.0/web_widget_numeric_step/static/description/add_two_buttons.png **Optional** @@ -69,19 +72,19 @@ Iteration with 0.25 step, min to -1 and max to 10. Start to increment with button, continue incrementing with scrolling mouse. -.. figure:: https://raw.githubusercontent.com/OCA/web/15.0/web_widget_numeric_step/static/description/step0,25andlimits.gif +.. figure:: https://raw.githubusercontent.com/OCA/web/16.0/web_widget_numeric_step/static/description/step0,25andlimits.gif Iteration with 10 step, max limit 15, placeholder with onchange -.. figure:: https://raw.githubusercontent.com/OCA/web/15.0/web_widget_numeric_step/static/description/step10_limit15_placeholder117_with_onchange.gif +.. figure:: https://raw.githubusercontent.com/OCA/web/16.0/web_widget_numeric_step/static/description/step10_limit15_placeholder117_with_onchange.gif Bug Tracker =========== Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. -If you spotted it first, help us smashing it by providing a detailed and welcomed -`feedback `_. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -108,6 +111,7 @@ Contributors * Helly kapatel * Thanakrit Pintana +* Dhara Solanki Maintainers ~~~~~~~~~~~ @@ -122,6 +126,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -This module is part of the `OCA/web `_ project on GitHub. +This module is part of the `OCA/web `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/web_widget_numeric_step/__manifest__.py b/web_widget_numeric_step/__manifest__.py index 1e07c05de..48eea0bfd 100644 --- a/web_widget_numeric_step/__manifest__.py +++ b/web_widget_numeric_step/__manifest__.py @@ -10,14 +10,10 @@ "license": "AGPL-3", "website": "https://github.com/OCA/web", "depends": ["web"], - "demo": ["demo/res_users_view.xml"], "assets": { "web.assets_backend": [ - "web_widget_numeric_step/static/src/js/numeric_step.js", - "web_widget_numeric_step/static/src/css/numeric_step.scss", - ], - "web.assets_qweb": [ "web_widget_numeric_step/static/src/xml/numeric_step.xml", + "web_widget_numeric_step/static/src/js/numeric_step.esm.js", ], }, "auto_install": False, diff --git a/web_widget_numeric_step/demo/res_users_view.xml b/web_widget_numeric_step/demo/res_users_view.xml deleted file mode 100644 index c57e1c7a9..000000000 --- a/web_widget_numeric_step/demo/res_users_view.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - res.users - - - - - - - - - - diff --git a/web_widget_numeric_step/i18n/de.po b/web_widget_numeric_step/i18n/de.po index c040360ba..2726362d4 100644 --- a/web_widget_numeric_step/i18n/de.po +++ b/web_widget_numeric_step/i18n/de.po @@ -17,24 +17,26 @@ msgstr "" "X-Generator: Weblate 4.3.2\n" #. module: web_widget_numeric_step -#. openerp-web -#: code:addons/web_widget_numeric_step/static/src/xml/numeric_step.xml:0 +#. odoo-javascript #: code:addons/web_widget_numeric_step/static/src/xml/numeric_step.xml:0 #, python-format msgid "Minus" msgstr "Minus" #. module: web_widget_numeric_step -#. openerp-web -#: code:addons/web_widget_numeric_step/static/src/xml/numeric_step.xml:0 +#. odoo-javascript +#: code:addons/web_widget_numeric_step/static/src/js/numeric_step.esm.js:0 +#, python-format +msgid "Numeric Step" +msgstr "" + +#. module: web_widget_numeric_step +#. odoo-javascript #: code:addons/web_widget_numeric_step/static/src/xml/numeric_step.xml:0 #, python-format msgid "Plus" msgstr "Plus" -#. module: web_widget_numeric_step -#. openerp-web -#: code:addons/web_widget_numeric_step/static/src/xml/numeric_step.xml:0 #, python-format -msgid "Value" -msgstr "Wert" +#~ msgid "Value" +#~ msgstr "Wert" diff --git a/web_widget_numeric_step/i18n/es.po b/web_widget_numeric_step/i18n/es.po index c577c7fac..309d506e6 100644 --- a/web_widget_numeric_step/i18n/es.po +++ b/web_widget_numeric_step/i18n/es.po @@ -1,6 +1,6 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * web_widget_numeric_step +# * web_widget_numeric_step # msgid "" msgstr "" @@ -17,22 +17,26 @@ msgstr "" "X-Generator: Weblate 3.10\n" #. module: web_widget_numeric_step -#. openerp-web -#: code:addons/web_widget_numeric_step/static/src/xml/numeric_step.xml:14 +#. odoo-javascript +#: code:addons/web_widget_numeric_step/static/src/xml/numeric_step.xml:0 #, python-format msgid "Minus" msgstr "Menos" #. module: web_widget_numeric_step -#. openerp-web -#: code:addons/web_widget_numeric_step/static/src/xml/numeric_step.xml:19 +#. odoo-javascript +#: code:addons/web_widget_numeric_step/static/src/js/numeric_step.esm.js:0 +#, python-format +msgid "Numeric Step" +msgstr "" + +#. module: web_widget_numeric_step +#. odoo-javascript +#: code:addons/web_widget_numeric_step/static/src/xml/numeric_step.xml:0 #, python-format msgid "Plus" msgstr "Más" -#. module: web_widget_numeric_step -#. openerp-web -#: code:addons/web_widget_numeric_step/static/src/xml/numeric_step.xml:16 #, python-format -msgid "Value" -msgstr "Valor" +#~ msgid "Value" +#~ msgstr "Valor" diff --git a/web_widget_numeric_step/i18n/fr.po b/web_widget_numeric_step/i18n/fr.po index 5108f7da6..969a859c8 100644 --- a/web_widget_numeric_step/i18n/fr.po +++ b/web_widget_numeric_step/i18n/fr.po @@ -17,22 +17,22 @@ msgstr "" "Plural-Forms: \n" #. module: web_widget_numeric_step -#. openerp-web -#: code:addons/web_widget_numeric_step/static/src/xml/numeric_step.xml:14 +#. odoo-javascript +#: code:addons/web_widget_numeric_step/static/src/xml/numeric_step.xml:0 #, python-format msgid "Minus" msgstr "Moins" #. module: web_widget_numeric_step -#. openerp-web -#: code:addons/web_widget_numeric_step/static/src/xml/numeric_step.xml:19 +#. odoo-javascript +#: code:addons/web_widget_numeric_step/static/src/js/numeric_step.esm.js:0 +#, python-format +msgid "Numeric Step" +msgstr "" + +#. module: web_widget_numeric_step +#. odoo-javascript +#: code:addons/web_widget_numeric_step/static/src/xml/numeric_step.xml:0 #, python-format msgid "Plus" msgstr "Plus" - -#. module: web_widget_numeric_step -#. openerp-web -#: code:addons/web_widget_numeric_step/static/src/xml/numeric_step.xml:16 -#, python-format -msgid "Value" -msgstr "" diff --git a/web_widget_numeric_step/i18n/it.po b/web_widget_numeric_step/i18n/it.po index 5b8f6d8cd..efa4cd848 100644 --- a/web_widget_numeric_step/i18n/it.po +++ b/web_widget_numeric_step/i18n/it.po @@ -17,22 +17,26 @@ msgstr "" "X-Generator: Weblate 4.3.2\n" #. module: web_widget_numeric_step -#. openerp-web +#. odoo-javascript #: code:addons/web_widget_numeric_step/static/src/xml/numeric_step.xml:0 #, python-format msgid "Minus" msgstr "Meno" #. module: web_widget_numeric_step -#. openerp-web +#. odoo-javascript +#: code:addons/web_widget_numeric_step/static/src/js/numeric_step.esm.js:0 +#, python-format +msgid "Numeric Step" +msgstr "" + +#. module: web_widget_numeric_step +#. odoo-javascript #: code:addons/web_widget_numeric_step/static/src/xml/numeric_step.xml:0 #, python-format msgid "Plus" msgstr "Più" -#. module: web_widget_numeric_step -#. openerp-web -#: code:addons/web_widget_numeric_step/static/src/xml/numeric_step.xml:0 #, python-format -msgid "Value" -msgstr "Valore" +#~ msgid "Value" +#~ msgstr "Valore" diff --git a/web_widget_numeric_step/i18n/web_widget_numeric_step.pot b/web_widget_numeric_step/i18n/web_widget_numeric_step.pot index 835b3d94d..7ede8cbe3 100644 --- a/web_widget_numeric_step/i18n/web_widget_numeric_step.pot +++ b/web_widget_numeric_step/i18n/web_widget_numeric_step.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 15.0\n" +"Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: \n" "Language-Team: \n" @@ -14,7 +14,7 @@ msgstr "" "Plural-Forms: \n" #. module: web_widget_numeric_step -#. openerp-web +#. odoo-javascript #: code:addons/web_widget_numeric_step/static/src/xml/numeric_step.xml:0 #: code:addons/web_widget_numeric_step/static/src/xml/numeric_step.xml:0 #, python-format @@ -22,16 +22,16 @@ msgid "Minus" msgstr "" #. module: web_widget_numeric_step -#. openerp-web +#. odoo-javascript +#: code:addons/web_widget_numeric_step/static/src/js/numeric_step.esm.js:0 +#, python-format +msgid "Numeric Step" +msgstr "" + +#. module: web_widget_numeric_step +#. odoo-javascript #: code:addons/web_widget_numeric_step/static/src/xml/numeric_step.xml:0 #: code:addons/web_widget_numeric_step/static/src/xml/numeric_step.xml:0 #, python-format msgid "Plus" msgstr "" - -#. module: web_widget_numeric_step -#. openerp-web -#: code:addons/web_widget_numeric_step/static/src/xml/numeric_step.xml:0 -#, python-format -msgid "Value" -msgstr "" diff --git a/web_widget_numeric_step/readme/CONTRIBUTORS.rst b/web_widget_numeric_step/readme/CONTRIBUTORS.rst index 31329b39f..3af1d6666 100644 --- a/web_widget_numeric_step/readme/CONTRIBUTORS.rst +++ b/web_widget_numeric_step/readme/CONTRIBUTORS.rst @@ -9,3 +9,4 @@ * Helly kapatel * Thanakrit Pintana +* Dhara Solanki diff --git a/web_widget_numeric_step/static/description/add_two_buttons.png b/web_widget_numeric_step/static/description/add_two_buttons.png index 2670f06ec..7a60f2dea 100644 Binary files a/web_widget_numeric_step/static/description/add_two_buttons.png and b/web_widget_numeric_step/static/description/add_two_buttons.png differ diff --git a/web_widget_numeric_step/static/description/index.html b/web_widget_numeric_step/static/description/index.html index 3ddd75ad5..695cf92a9 100644 --- a/web_widget_numeric_step/static/description/index.html +++ b/web_widget_numeric_step/static/description/index.html @@ -1,20 +1,20 @@ - + - + Web Widget Numeric Step