Handle easily multiple variants on Sales Orders
by Tecnativa https://github.com/OCA/product-variant , Odoo Community Association (OCA) https://github.com/OCA/product-variant
Odoo
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Sales Management (sale)
• Invoicing (account) • Discuss (mail) |
Community Apps Dependencies | Show |
Technical Name |
sale_order_variant_mgmt |
License | AGPL-3 |
Website | https://www.tecnativa.com |
Versions | 9.0 10.0 11.0 12.0 |
Handle easily multiple variants on Sales Orders
This module allows to add/modify of all the variants of a product in a direct screen without the need of handling them one by one
Configuration
- Configure your user to have any permission from "Sales" group.
- Create a product with 2 attributes and several values.
Usage
- Go to Sales > Sales > Quotations
- Create a new quotation or edit an existing one.
- Press "Add variants" button located in the upper right corner of the "Order Lines" tab.
- A new screen will appear allowing you to select the products that have variants.
- Once you select the product, a 2D matrix will appear with the first attribute values as columns and the second one as rows.
- If there are already order lines for the product variants, the current quantity will be pre-filled in the matrix.
- Change the quantities for the variant you want and click on "Transfer to order"
- Order lines for the variants will be created/removed to comply with the input you have done.
As extra feature for saving steps, there's also a button on each existing line that corresponds to a variant that opens the dialog directly with the product selected.
Known issues / Roadmap
The inline button for modifying quantities for an existing line won't work correctly until these 2 PRs are merged in Odoo:
- https://github.com/odoo/odoo/pull/13558
- https://github.com/odoo/odoo/pull/13635
The corresponding OCB versions are in:
- https://github.com/OCA/OCB/pull/547
- https://github.com/OCA/OCB/pull/548
Credits
Contributors
- Pedro M. Baeza <pedro.baeza@tecnativa.com>
Maintainer

This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
To contribute to this module, please visit https://odoo-community.org.
Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedGreat module!
Great module, it gives a solution for industries that handle lots of variants per product. Two issues, first if you activate the module you can no longer add products in the traditional way but only with the button and secondly in the 2D scheme variants are not sorted by the sequence field but by the id which creates problems when inputting quantities. Not an issue but would help allot the 2D form to be easy to read, all the fields come pre-filled with "0,00" while it should all be empty. Last it would be great to be able to navigate using "enter" or "down arrow" to go down while at the 2D form.
Module for V13
Hi, I have adapted this module for V13, I transmit it.