Cache product prices per pricelist
product_pricelist_cache · OCA/product-attribute
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 113 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.04 MB
Module directory on disk
Code analysis
5 migration notes
2 models
3 views
0 HTTP endpoints
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
ir_cron_scheduler_cache_product_prices— Migrating to 18.0: `ir.cron` lost `numbercall`/`doall`: remove them from the record, data loading fails on unknown fields. migration-cron-numbercall · sourceproduct_price_cache_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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 |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (3)
-
priceFloatdigits=dp.get_precision('Product Price')readonly=True -
pricelist_idMany2one → product.pricelistcomodel_name='product.pricelist'index=Trueondelete='cascade'readonly=Truestring='Pricelist' -
product_idMany2one → product.productcomodel_name='product.product'index=Trueondelete='cascade'readonly=Truestring='Product'
-
cache_pricelist_prices(self, pricelist, all_products)@api.modelCache all simple product prices for a single pricelist. -
cache_pricelist_prices_all(self)@api.modelCache prices for all pricelists, for all products.
New fields (0)
No new fields.
Public methods (0)No public methods.