Handle easily multiple variants on Sales Orders

sale_order_variant_mgmt
REPOSITORY
REPOSITORYOCA/product-variant
GIT
GIThttps://github.com/OCA/product-variant.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-variant/tree/12.0/sale_order_variant_mgmt
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYSale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSAlexandre Díaz, OCA Transbot, sergio-teruel, oca-travis, Weblate, OCA-git-bot, Pablo Fuentes
WEBSITE
WEBSITEhttps://github.com/OCA/product-variant
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:19
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/web:
    - web_widget_x2many_2d_matrix
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - decimal_precision
    - uom
    - analytic
    - portal
    - http_routing
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
sale_manage_variant_form sale.manage.variant form New
view_order_form sale.order xpath Inherits sale.view_order_form
Models touched (3)

New fields (2)
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' required=True string='Template'
  • variant_line_ids Many2many → sale.manage.variant.line
    comodel_name='sale.manage.variant.line' string='Variant Lines'
Public methods (1)
  • button_transfer_to_order(self)
    @api.multi

New fields (3)
  • product_uom_qty Float
    digits=dp.get_precision('Product UoS') string='Quantity'
  • value_x Many2one → product.attribute.value
    comodel_name='product.attribute.value'
  • value_y Many2one → product.attribute.value
    comodel_name='product.attribute.value'
Public methods (0)

No public methods.

New fields (2)
  • product_attribute_value_ids Many2many → product.attribute.value
    comodel_name='product.attribute.value' readonly=True related='product_id.attribute_value_ids'
  • product_tmpl_id_sale_order_variant_mgmt Many2one → product.template
    comodel_name='product.template' readonly=True related='product_id.product_tmpl_id'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/product-variant
GIT
GIThttps://github.com/OCA/product-variant.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-variant/tree/11.0/sale_order_variant_mgmt
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYSale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, GitHub, OCA Transbot, oca-travis, Weblate, OCA-git-bot, OCA Git Bot
WEBSITE
WEBSITEhttps://www.tecnativa.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/web:
    - web_widget_x2many_2d_matrix
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account
    - product
    - decimal_precision
    - analytic
    - web_planner
    - portal
    - http_routing
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
sale_manage_variant_form sale.manage.variant form New
view_order_form sale.order xpath Inherits sale.view_order_form
Models touched (3)

New fields (2)
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' required=True string='Template'
  • variant_line_ids Many2many → sale.manage.variant.line
    comodel_name='sale.manage.variant.line' string='Variant Lines'
Public methods (1)
  • button_transfer_to_order(self)
    @api.multi

New fields (3)
  • product_uom_qty Float
    digits=dp.get_precision('Product UoS') string='Quantity'
  • value_x Many2one → product.attribute.value
    comodel_name='product.attribute.value'
  • value_y Many2one → product.attribute.value
    comodel_name='product.attribute.value'
Public methods (0)

No public methods.

New fields (2)
  • product_attribute_value_ids Many2many → product.attribute.value
    comodel_name='product.attribute.value' readonly=True related='product_id.attribute_value_ids'
  • product_tmpl_id_sale_order_variant_mgmt Many2one → product.template
    comodel_name='product.template' readonly=True related='product_id.product_tmpl_id'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/product-variant
GIT
GIThttps://github.com/OCA/product-variant.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-variant/tree/10.0/sale_order_variant_mgmt
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, oca-travis, Weblate
WEBSITE
WEBSITEhttps://www.tecnativa.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/web:
    - web_widget_x2many_2d_matrix
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - web_planner
    - procurement
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
sale_manage_variant_form sale.manage.variant form New
view_order_form sale.order xpath Inherits sale.view_order_form
Models touched (3)

New fields (2)
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' required=True string='Template'
  • variant_line_ids Many2many → sale.manage.variant.line
    comodel_name='sale.manage.variant.line' string='Variant Lines'
Public methods (2)
  • button_transfer_to_order(self)
    @api.multi
  • onchange(self, values, field_name, field_onchange)
    @api.multi

New fields (5)
  • disabled Boolean
  • product_id Many2one → product.product
    comodel_name='product.product' readonly=True string='Variant'
  • product_uom_qty Float
    digits=dp.get_precision('Product UoS') string='Quantity'
  • value_x Many2one → product.attribute.value
    comodel_name='product.attribute.value'
  • value_y Many2one → product.attribute.value
    comodel_name='product.attribute.value'
Public methods (0)

No public methods.

New fields (2)
  • product_attribute_value_ids Many2many → product.attribute.value
    comodel_name='product.attribute.value' readonly=True related='product_id.attribute_value_ids'
  • product_tmpl_id_sale_order_variant_mgmt Many2one → product.template
    comodel_name='product.template' readonly=True related='product_id.product_tmpl_id'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/sale-workflow
GIT
GIThttps://github.com/OCA/sale-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/sale-workflow/tree/9.0/sale_order_variant_mgmt
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, GitHub, Jairo Llopis, Jordi Ballester, OCA Transbot, oca-travis, Weblate
WEBSITE
WEBSITEhttps://www.tecnativa.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/web:
    - web_widget_x2many_2d_matrix
odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - web_tip
    - web_planner
    - procurement
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
sale_manage_variant_form sale.manage.variant form New
view_order_form sale.order xpath Inherits sale.view_order_form
Models touched (3)

New fields (2)
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' required=True string='Template'
  • variant_line_ids Many2many → sale.manage.variant.line
    comodel_name='sale.manage.variant.line' string='Variant Lines'
Public methods (2)
  • button_transfer_to_order(self)
    @api.multi
  • onchange(self, values, field_name, field_onchange)
    @api.multi

New fields (5)
  • disabled Boolean
  • product_id Many2one → product.product
    comodel_name='product.product' readonly=True string='Variant'
  • product_uom_qty Float
    digits_compute=dp.get_precision('Product UoS') string='Quantity'
  • value_x Many2one → product.attribute.value
    comodel_name='product.attribute.value'
  • value_y Many2one → product.attribute.value
    comodel_name='product.attribute.value'
Public methods (0)

No public methods.

New fields (2)
  • product_attribute_value_ids Many2many → product.attribute.value
    comodel_name='product.attribute.value' readonly=True related='product_id.attribute_value_ids'
  • product_tmpl_id_sale_order_variant_mgmt Many2one → product.template
    comodel_name='product.template' readonly=True related='product_id.product_tmpl_id'
Public methods (0)

No public methods.