Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Employees (hr)
• Discuss (mail) |
Lines of code | 130 |
Technical Name |
mh_integer_field_step_input_widget |
License | OPL-1 |
Website | http://softwarebox18@gmail.com |
Versions | 16.0 17.0 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Employees (hr)
• Discuss (mail) |
Lines of code | 130 |
Technical Name |
mh_integer_field_step_input_widget |
License | OPL-1 |
Website | http://softwarebox18@gmail.com |
Versions | 16.0 17.0 |
Step Input Widget for Integer Fields (Odoo16)
Step Input Widget, designed specifically for integer fields. This widget provides an intuitive interface with increment (+) and decrement (-) buttons, allowing users to quickly adjust whole number values in predefined steps. It supports additional configuration for minimum and maximum values, ensuring that your integer fields stay within the desired range.
Whether you are managing inventory, setting integer-based limits, or adjusting quantities, this step input widget helps streamline the user experience while maintaining precision and control over data entry.
How It Works
Key Features
- Step-Based Value Adjustment:Use increment and decrement buttons to change integer field values in customizable steps.
- Configurable Min and Max Values:Set boundaries to restrict the range of allowed integer values, ensuring data accuracy.
- Flexible Configuration:Choose step size, minimum, and maximum values to fit your business needs.
- Works Seamlessly:Automatically integrates with Odoo's integer fields for both forms and views.
- No Limits:The widget allows infinite increases or decreases when no min/max values are defined.
- User-Friendly Interface:Enhance the user experience by providing a quick and clear way to input integer values.
Configuration
How to Use the Widget in an Integer Field
- To enable the Step Input Widget, simply add the widget to any integer field in your Odoo model using the widget="step_input" option.
- widget="step_input" options="{'step': 1, 'min_value': 0, 'max_value': 10}"
- Configure the options attribute to define the threshold value and assign the desired background and text colors.
Options Available
- step:Defines how much the value should increase or decrease with each click of the increment (+) or decrement (-) buttons. Default is 1.
- min_value:Sets the minimum value allowed for the field. If not defined, the minimum is set to -Infinity.
- max_value:Sets the maximum value allowed for the field. If not defined, the maximum is set to Infinity.
- Behavior Without Min/Max Values:If you do not specify min_value or max_value, the widget will allow the user to increment or decrement the value indefinitely in either direction. This can be useful for cases where no boundary is required.
Examples of Using the Widget
- Inventory Quantity Management:Use the widget to set or adjust stock levels in increments of 1, ensuring that inventory updates are quick, accurate, and stay within predefined limits.
- Discount Percent Control:Manage discount percentages easily by restricting them to a minimum of 0 and a maximum of 50, ensuring no over-discounts are applied.
- Employee Performance Rating:In HR, employee performance might be rated on a scale from 1 to 10, with only whole numbers allowed. This widget ensures that ratings are given consistently and can be adjusted quickly by clicking + or -.
- Order Quantity in Sales Orders:In the sales process, itâs important to control the number of units ordered for products. By setting a minimum quantity (e.g., 1) and adjusting quantities in specific steps, sales reps can ensure orders are handled efficiently.
Why Choose This App?
- Customizability:Configure the widget to meet the exact needs of your business by defining steps, minimum, and maximum values.
- Efficiency:Save time by allowing users to quickly adjust values with simple increment and decrement buttons, rather than typing them manually.
- Data Accuracy:Ensure data integrity by setting clear boundaries on integer values.
- Easy to Use:Integrates seamlessly into Odoo, requiring minimal setup and no complex configurations.
- Flexible Integration:Works across various integer fields, making it versatile for a wide range of use cases like inventory management, HR, pricing, and more.
Need Any Help?
Free 60 Days Support.
SoftwareBox will provide FREE 60 days support for any doubt, queries, and bug fixing (excluding data recovery) or any type of issues related to this module. This is applicable from the date of purchase.
Email US
softwarebox18@gmail.com
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must 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