Cache product prices per pricelist

product_pricelist_cache
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/8.0/product_pricelist_cache
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYSales Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV
COMMITTERS
COMMITTERSOCA Transbot, Dave Lasley, oca-travis
WEBSITE
WEBSITEhttps://therp.nl/
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
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
product_price_cache_form product.price.cache form New
product_price_cache_search product.price.cache search New
product_price_cache_tree product.price.cache tree New
Models touched (2)

New fields (3)
  • price Float
    digits=dp.get_precision('Product Price') readonly=True
  • pricelist_id Many2one → product.pricelist
    comodel_name='product.pricelist' index=True ondelete='cascade' readonly=True string='Pricelist'
  • product_id Many2one → product.product
    comodel_name='product.product' index=True ondelete='cascade' readonly=True string='Product'
Public methods (2)
  • cache_pricelist_prices(self, pricelist, all_products)
    @api.model
    Cache all simple product prices for a single pricelist.
  • cache_pricelist_prices_all(self)
    @api.model
    Cache prices for all pricelists, for all products.

New fields (0)

No new fields.

Public methods (0)

No public methods.