Repository
OCA/product-variant · module folder · Try on Runboat
Module version
1.0.0
Category
Product Management
Folder size
0.1 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/product-variant
Last tracking update
2026-08-07 09:06:27
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
Weblate, Nils Coenen, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module allows to handle sale price at product variant level
(product.product) instead of product level (product.template), which is
the default.

It replaces the extra price configuration with a fix price that can be
modified on each variant independently, which allows setting absolute
prices instead of relative ones.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
product_template_attribute_value_view_form product.template.attribute.value.form.hide.extra product.template.attribute.value form Inherits product.product_template_attribute_value_view_form
product_template_attribute_value_view_tree product.template.attribute.value.tree.hide.extra product.template.attribute.value tree Inherits product.product_template_attribute_value_view_tree
product_template_form_view product.template.form.inherited product.template form Inherits product.product_template_form_view
product_variant_easy_edit_price_view product.product Inherits product.product_variant_easy_edit_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (3)
  • fix_price Float
  • list_price Float
    compute='_compute_list_price'
  • lst_price Float
    compute='_compute_lst_price' inverse='_inverse_product_lst_price'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • write(self, vals)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…