Skip to content
Snippets Groups Projects
Commit 0acd96c3 authored by Victor Feyens's avatar Victor Feyens
Browse files

[IMP] sale: Use a 'cached' pricelist rule mechanism

Cache the pricelist rule used for price computation in a dedicated non
stored field, since it is used both for the price_unit and the discount
computation.

This divides by 2 the number of pricelist requests/queries when
discounts computation is enabled.
parent 3295fa47
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment