pricelist_cache
This module implements caching for product pricelists to improve performance in pricing operations by storing precomputed prices for all products across all pricelists.
Key Features
- product.pricelist.cache: Stores cached prices for each product variant across all pricelists.
- product.pricelist.cache: Updates cache records when products, pricelists, or pricelist items are created or modified.
- product.pricelist.cache: Provides a daily cron job to rebuild the entire pricelist cache.
- product.pricelist.cache: Retrieves cached prices efficiently for given pricelists and products.
- product.pricelist.item: Triggers cache updates when pricelist items are created, skipping items based on dates.
- product.pricelist: Adds fields to track cache computation status and parent pricelists.
- product.pricelist: Updates cache when new pricelists are created.
- product.product: Updates cache for new products across global pricelists.
- res.partner: Adds a product filter for caching and methods to retrieve cached prices.
- res.partner: Provides a button to view cached prices in a tree view.
- product.pricelist.cache.wizard: Offers a wizard to view cached prices for specific partners, pricelists, or products.