3
0
Fork 0

[IMP] web_widget_numeric_step: Add demo data to test the module

17.0
Carlos Roca 2024-08-07 07:09:21 +02:00
parent 8ea58d8341
commit f2dc559958
5 changed files with 31 additions and 1 deletions

View File

@ -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

View File

@ -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/*",

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="ir_cron_view_form" model="ir.ui.view">
<field name="model">ir.cron</field>
<field name="inherit_id" ref="base.ir_cron_view_form" />
<field name="arch" type="xml">
<field name="interval_number" position="attributes">
<attribute name="widget">numeric_step</attribute>
<attribute name="options">{'step': 2, 'min': 0, 'max': 40}</attribute>
</field>
</field>
</record>
</odoo>

View File

@ -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.

View File

@ -418,6 +418,10 @@ mouse.</p>
<p><img alt="image2" src="https://raw.githubusercontent.com/OCA/web/17.0/web_widget_numeric_step/static/description/step0,25andlimits.gif" /></p>
<p>Iteration with 10 step, max limit 15, placeholder with onchange</p>
<p><img alt="image3" src="https://raw.githubusercontent.com/OCA/web/17.0/web_widget_numeric_step/static/description/step10_limit15_placeholder117_with_onchange.gif" /></p>
<p><strong>Demo</strong></p>
<p>You can test the feature by going to Settings &gt; Technical &gt; Scheduled
Actions. The field “Execute Every” is configured to use the widget with
2 step, min to 0 and max to 40.</p>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>