Skip to main content

Handle the addition/removal of multiple variants from product template into the sales order

Project description

Beta License: AGPL-3 OCA/product-variant Translate me on Weblate Try me on Runbot

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

Table of contents


This module requires the module web_widget_x2many_2d_matrix, which is located at OCA/web repository.


  1. Configure your user to have any permission from “Sales” group.

  2. Create a product with 2 attributes and several values.


  1. Go to Sales > Sales > Quotations

  2. Create a new quotation or edit an existing one.

  3. Press “Add variants” button located in the upper right corner of the “Order Lines” tab.

  4. A new screen will appear allowing you to select the products that have variants.

  5. Once you select the product, a 2D matrix will appear with the first attribute values as columns and the second one as rows.

  6. If there are already order lines for the product variants, the current quantity will be pre-filled in the matrix.

  7. Change the quantities for the variant you want and click on “Transfer to order”

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

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.



  • Tecnativa



This module is maintained by the OCA.

Odoo Community Association

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.

This module is part of the OCA/product-variant project on GitHub.

You are welcome to contribute. To learn how please visit

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page