diff --git a/web_widget_numeric_step/README.rst b/web_widget_numeric_step/README.rst index 97c1bf160..8541f11c0 100644 --- a/web_widget_numeric_step/README.rst +++ b/web_widget_numeric_step/README.rst @@ -83,6 +83,12 @@ Iteration with 10 step, max limit 15, placeholder with onchange |image3| +**Demo** + +You can test the feature by going to Settings > Technical > Scheduled +Actions. The field "Execute Every" is configured to use the widget with +2 step, min to 0 and max to 40. + .. |image1| image:: https://raw.githubusercontent.com/OCA/web/17.0/web_widget_numeric_step/static/description/add_two_buttons.png .. |image2| image:: https://raw.githubusercontent.com/OCA/web/17.0/web_widget_numeric_step/static/description/step0,25andlimits.gif .. |image3| image:: https://raw.githubusercontent.com/OCA/web/17.0/web_widget_numeric_step/static/description/step10_limit15_placeholder117_with_onchange.gif diff --git a/web_widget_numeric_step/__manifest__.py b/web_widget_numeric_step/__manifest__.py index 950d3e718..63555bc54 100644 --- a/web_widget_numeric_step/__manifest__.py +++ b/web_widget_numeric_step/__manifest__.py @@ -6,10 +6,11 @@ "name": "Web Widget Numeric Step", "category": "web", "version": "17.0.1.0.0", - "author": "GRAP, Tecnativa, " "Odoo Community Association (OCA)", + "author": "GRAP, Tecnativa, Odoo Community Association (OCA)", "license": "AGPL-3", "website": "https://github.com/OCA/web", "depends": ["web"], + "demo": ["demo/ir_cron.xml"], "assets": { "web.assets_backend": [ "web_widget_numeric_step/static/src/*", diff --git a/web_widget_numeric_step/demo/ir_cron.xml b/web_widget_numeric_step/demo/ir_cron.xml new file mode 100644 index 000000000..1a4f7bdc4 --- /dev/null +++ b/web_widget_numeric_step/demo/ir_cron.xml @@ -0,0 +1,13 @@ + + + + ir.cron + + + + numeric_step + {'step': 2, 'min': 0, 'max': 40} + + + + diff --git a/web_widget_numeric_step/readme/USAGE.md b/web_widget_numeric_step/readme/USAGE.md index 67b4bfab2..e95f2e4dc 100644 --- a/web_widget_numeric_step/readme/USAGE.md +++ b/web_widget_numeric_step/readme/USAGE.md @@ -36,3 +36,9 @@ mouse. Iteration with 10 step, max limit 15, placeholder with onchange ![](../static/description/step10_limit15_placeholder117_with_onchange.gif) + +**Demo** + +You can test the feature by going to Settings > Technical > Scheduled Actions. The +field "Execute Every" is configured to use the widget with 2 step, min to 0 and max +to 40. \ No newline at end of file diff --git a/web_widget_numeric_step/static/description/index.html b/web_widget_numeric_step/static/description/index.html index d2fd91539..11aa54e48 100644 --- a/web_widget_numeric_step/static/description/index.html +++ b/web_widget_numeric_step/static/description/index.html @@ -418,6 +418,10 @@ mouse.

image2

Iteration with 10 step, max limit 15, placeholder with onchange

image3

+

Demo

+

You can test the feature by going to Settings > Technical > Scheduled +Actions. The field “Execute Every” is configured to use the widget with +2 step, min to 0 and max to 40.

Bug Tracker