Product Variant Cost Price

product_variant_cost_price
REPOSITORY
REPOSITORYOCA/product-variant
GIT
GIThttps://github.com/OCA/product-variant.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-variant/tree/8.0/product_variant_cost_price
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYProduct Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), AvanzOSC, Antiun Ingeniería S.L., OdooMRP team, Serv. Tecnol. Avanzados - Pedro M. Baeza
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), AvanzOSC, Antiun Ingeniería S.L., OdooMRP team, Serv. Tecnol. Avanzados - Pedro M. Baeza
COMMITTERS
COMMITTERSPedro M. Baeza, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, agaldona, Weblate, oihane
WEBSITE
WEBSITEhttps://github.com/OCA/product-variant
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:23
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - report
    - stock_account
    - stock
    - procurement
    - board
    - web_kanban_gauge
    - web_kanban_sparkline
    - account
    - analytic
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views found for this module.

Models touched (4)

New fields (0)

No new fields.

Public methods (1)
  • create(self, values)
    @api.model

New fields (1)
  • product_id Many2one → product.product
    comodel_name='product.product' ondelete='cascade' string='Product'
Public methods (0)

No public methods.

New fields (2)
  • cost_method Selection
    company_dependent=True copy=True help='Standard Price: The cost price is manually updated at the end of a specific period (usually every year).\nAverage Price: The cost price is recomputed at each incoming shipment and used for the product valuation.\nReal Price: The cost price displayed is the price of the last outgoing product (will be use in case of inventory loss for example).' required=True selection='_get_selection_cost_method' string='Costing Method'
  • standard_price Float
    company_dependent=True digits=dp.get_precision('Product Price') groups='base.group_user' help='Cost price of the product variant used for standard stock valuation in accounting and used as a base price on purchase orders. Expressed in the default unit of measure of the product.' string='Cost Price'
Public methods (2)
  • create(self, values)
    @api.model
  • write(self, values)
    @api.multi

New fields (0)

No new fields.

Public methods (2)
  • create_variant_ids(self)
    @api.multi
    Write in the new created variants the current template cost price.
  • write(self, vals)
    @api.multi
    Propagate to the variants the template cost price (if modified).