Compute product sales price from a pricelist

product_list_price_from_pricelist
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/18.0/product_list_price_from_pricelist
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSCarlos Lopez, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module enables the automatic computation of a product's sale price
based on the configuration of a pricelist.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_res_config_settings_form view.res.config.settings.form res.config.settings xpath Inherits sale.res_config_settings_view_form
Models touched (4)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (1)
  • base_pricelist_compute_price_id Many2one → product.pricelist
    help='Pricelist used to calculate the price of all products' string='Recomputing pricelist' args: 'product.pricelist'
Public methods (0)

No public methods.

New fields (2)
  • base_pricelist_compute_price_id Many2one → product.pricelist
    readonly=False related='company_id.base_pricelist_compute_price_id' args: 'product.pricelist'
  • main_company_compute_price_id Many2one → res.company
    config_parameter='main_company_compute_price_id' readonly=False string='Main company for compute sale price' args: 'res.company'
Public methods (1)
  • action_update_product_price_from_pricelist(self)
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/16.0/product_list_price_from_pricelist
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSCarlos Lopez, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:48
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account_payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_res_config_settings_form view.res.config.settings.form res.config.settings xpath Inherits sale.res_config_settings_view_form
Models touched (4)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (1)
  • base_pricelist_compute_price_id Many2one → product.pricelist
    help='Pricelist used to calculate the price of all products' string='Recomputing pricelist' args: 'product.pricelist'
Public methods (0)

No public methods.

New fields (2)
  • base_pricelist_compute_price_id Many2one → product.pricelist
    readonly=False related='company_id.base_pricelist_compute_price_id' args: 'product.pricelist'
  • main_company_compute_price_id Many2one → res.company
    config_parameter='main_company_compute_price_id' readonly=False string='Main company for compute sale price' args: 'res.company'
Public methods (1)
  • action_update_product_price_from_pricelist(self)