Range Slider Widget
by Miguel Martinez Lopez https://github.com/holasoftware/odoo_range_slider_widget
Odoo
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 85 |
| Technical Name |
web_widget_range_slider |
| License | See License tab |
| Website | https://github.com/holasoftware/odoo_range_slider_widget |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 85 |
| Technical Name |
web_widget_range_slider |
| License | See License tab |
| Website | https://github.com/holasoftware/odoo_range_slider_widget |
Range Slider Widget
This module adds a new range slider widget for float fields.
Usage
Use the widget name range_slider in float fields.
The available options are:
min: Minimum valuemax: Maximum valuestep: Increment steps
Example:
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record id="my_model" model="ir.ui.view">
<field name="name">my_model.form</field>
<field name="model">my_model</field>
<field name="arch" type="xml">
...
<field name="float_field" widget="range_slider" options="{'min':0, 'max':55, 'step': 5}"/>
...
</field>
</record>
</odoo>
Copyright (c) 2025 Miguel Martinez Lopez Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module