Multiples of Quantity For Backend | Sale Order Product Multiple Quantity
by Varanval IT Solutions$ 11.71
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Invoicing (account) • Sales (sale_management) • Website (website) • eCommerce (website_sale) • Discuss (mail) |
| Lines of code | 68 |
| Technical Name |
vits_multiples_of_qty_for_backend_order |
| License | OPL-1 |
| Versions | 17.0 18.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Invoicing (account) • Sales (sale_management) • Website (website) • eCommerce (website_sale) • Discuss (mail) |
| Lines of code | 68 |
| Technical Name |
vits_multiples_of_qty_for_backend_order |
| License | OPL-1 |
| Versions | 17.0 18.0 |
Multiple Quantity
Sale Order Product Multiple Quantity
Sell products only in fixed quantity multiples and automatically adjust incorrect quantities in Sales Orders.
This module allows you to control and enforce product quantity multiples directly from the Odoo backend, making it ideal for businesses that sell products in fixed packs, bundles, or bulk quantities. You can define a multiple quantity for each product from the product form, such as 5, 6, 12, or any other number. Once configured, this multiple quantity is automatically applied when the product is added to a Sales Order or Quotation. When a user adds the product to a sales order, the default quantity will follow the defined multiple. If the user manually enters a quantity that is not a valid multiple—for example entering 8 when the product multiple is set to 5—the system will automatically adjust the quantity to the next higher valid multiple, such as 10. Users can still increase or decrease quantities, but only in valid multiples (5, 10, 15, 20, and so on), ensuring consistency and accuracy in sales operations.
Key Advantages
Backend Quantity Control
Control product quantities directly from the backend by enforcing predefined quantity multiples for each product.
Automatic Quantity Adjustment
If a user enters an invalid quantity, the system automatically adjusts it to the next valid multiple.
Prevents Sales Quantity Errors
Eliminates incorrect quantity entries and ensures consistent, standardized sales quantities.
Ideal for Pack & Bulk Products
Perfect for products sold in fixed packs, bundles, or bulk units like 5, 10, 12, etc.
Product-Level Configuration
Set quantity multiples individually per product, keeping full flexibility and control.
No Impact on Other Products
The rule applies only to products with defined multiples, leaving other products unaffected.
Working Process
- The admin sets a Multiple Quantity for a product from the product form (for example: 5, 6, 12, etc.).
- When the product is added to a Sales Order or Quotation, the system automatically applies the defined multiple quantity.
- The default quantity of the product always starts with the configured multiple value.
- If a user manually enters an invalid quantity (for example, enters 8 when the multiple is 5).
- The system automatically adjusts the quantity to the next higher valid multiple (8 → 10).
- Increasing or decreasing the quantity is always restricted to valid multiples only (5, 10, 15, 20, and so on).
- The logic is applied only to products where a multiple quantity is defined.
- Products without a defined multiple quantity continue to follow the standard Odoo behavior.
- This workflow prevents incorrect quantity entries and ensures consistent, accurate sales data.
Allow Multiple Qty - From Website Setting
Set Multiple Qty - For Product
Create Sale Order With - Manual Qty
Automatically Take - Higher Multiple Qty
📦 Product Quantity Multiples Control
Define fixed quantity multiples per product directly from the backend product form.
⚙️ Automatic Quantity Enforcement
Ensures that only valid quantity multiples are allowed in Sales Orders and Quotations.
🔢 Default Quantity Auto-Set
Automatically sets the product quantity to the defined multiple when added to an order.
⬆️ Smart Quantity Adjustment
If an invalid quantity is entered, the system auto-adjusts it to the next higher valid multiple.
🚫 Prevents Manual Quantity Errors
Eliminates incorrect quantity inputs and avoids sales mistakes.
📋 Sales Order & Quotation Support
Works seamlessly in backend Sales Orders and Quotations without extra steps.
🧩 Product-Level Configuration
Apply quantity rules individually per product for full flexibility.
🧠 Intelligent Quantity Validation
Quantity increase and decrease always follow the defined multiple logic.
Our Services
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