Openbravo Issue Tracking System - Retail Modules
View Issue Details
0049404Retail ModulesDiscounts and Promotionspublic2022-05-25 09:582022-05-25 09:58
cberner 
Retail 
normalminorhave not tried
newopen 
5
 
 
No
0049404: Propertycondition module does a query without limit for each discount rule, this may be performance heavy
When loading the discount cache, the org.openbravo.discounts.propertycondition module adds a hook that adds some info to the discount rules. In particular it does that by doing a query to MasterdataModel DiscountPropertyCRMFilters for each discount rule, that seems to be excessive.

There should be only 1 query to the MasterdataModel and then the filtering should be done in memory for each rule.
-
No tags attached.
Issue History
2022-05-25 09:58cbernerNew Issue
2022-05-25 09:58cbernerAssigned To => Retail
2022-05-25 09:58cbernerTriggers an Emergency Pack => No

There are no notes attached to this issue.