Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0048762 | Retail Modules | Web POS | public | 2022-03-10 13:24 | 2022-04-03 23:54 |
|
Reporter | aferraz | |
Assigned To | gorka_gil | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR22Q2 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Support ticket | |
Regression level | Production - QA Approved |
Regression date | |
Regression introduced in release | RR22Q1 |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0048762: Many unneded tax rules are loaded in WebPOS making tax engine very slow |
Description | Many unneded tax rules are loaded in WebPOS making tax engine very slow |
Steps To Reproduce | Check in Information tab from Organization window "Vall Blanca Store" belongs to "Spain" country (id="106").
Check WebPOS loads some tax rules defined for a country different than Spain:
>>new Set(OB.Taxes.Pos.ruleImpls.map(rule => rule.country))
Set(4) {null, '106', '100', '102'}
By default, only rules with empty country or Spain country should be loaded in WebPOS.
Rules defined for other countries should be loaded only in case the store allows to have more than one location (0048093). |
Proposed Solution | Add back to TaxRate.java and TaxZone.java the filters removed in https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/612 [^]
Skip these filters (or filter by every store location) just in case the store allows to have more than one location. |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0048737 | | closed | aferraz | Performance problem in Tax Engine having tax rules with many tax zones | depends on | backport | 0048950 | RR22Q1.2 | closed | gorka_gil | Many unneded tax rules are loaded in WebPOS making tax engine very slow | caused by | feature request | 0048093 | RR22Q1 | closed | gorka_gil | Allow stores to have many locations/addresses |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2022-03-10 13:24 | aferraz | New Issue | |
2022-03-10 13:24 | aferraz | Assigned To | => Retail |
2022-03-10 13:24 | aferraz | Triggers an Emergency Pack | => No |
2022-03-10 13:25 | aferraz | Relationship added | caused by 0048093 |
2022-03-10 13:27 | aferraz | Regression level | => Production - QA Approved |
2022-03-10 13:27 | aferraz | Regression introduced in release | => RR22Q1 |
2022-03-10 13:31 | aferraz | Proposed Solution updated | |
2022-03-10 13:37 | aferraz | Relationship added | related to 0048737 |
2022-03-10 13:45 | aferraz | Proposed Solution updated | |
2022-03-16 07:52 | marvintm | Assigned To | Retail => gorka_gil |
2022-03-25 13:26 | hgbot | Note Added: 0136060 | |
2022-03-30 17:55 | hgbot | Note Added: 0136185 | |
2022-03-30 18:19 | hgbot | Note Added: 0136186 | |
2022-03-31 16:37 | gorka_gil | Status | new => scheduled |
2022-04-01 10:14 | hgbot | Resolution | open => fixed |
2022-04-01 10:14 | hgbot | Status | scheduled => closed |
2022-04-01 10:14 | hgbot | Note Added: 0136234 | |
2022-04-01 10:14 | hgbot | Fixed in Version | => RR22Q2 |
2022-04-01 10:14 | hgbot | Note Added: 0136235 | |
2022-04-01 10:14 | hgbot | Note Added: 0136236 | |
2022-04-01 10:14 | hgbot | Note Added: 0136237 | |
2022-04-01 10:14 | hgbot | Note Added: 0136238 | |
2022-04-01 10:14 | hgbot | Note Added: 0136239 | |
2022-04-01 10:14 | hgbot | Note Added: 0136240 | |
2022-04-01 10:14 | hgbot | Note Added: 0136241 | |
2022-04-01 10:14 | hgbot | Note Added: 0136242 | |
2022-04-01 10:14 | hgbot | Note Added: 0136243 | |
2022-04-01 10:14 | hgbot | Note Added: 0136244 | |
2022-04-01 10:14 | hgbot | Note Added: 0136245 | |
2022-04-03 23:54 | hgbot | Note Added: 0136287 | |
Notes |
|
(0136060)
|
hgbot
|
2022-03-25 13:26
|
|
|
|
(0136185)
|
hgbot
|
2022-03-30 17:55
|
|
|
|
(0136186)
|
hgbot
|
2022-03-30 18:19
|
|
|
|
(0136234)
|
hgbot
|
2022-04-01 10:14
|
|
|
|
(0136235)
|
hgbot
|
2022-04-01 10:14
|
|
|
|
(0136236)
|
hgbot
|
2022-04-01 10:14
|
|
|
|
(0136237)
|
hgbot
|
2022-04-01 10:14
|
|
|
|
(0136238)
|
hgbot
|
2022-04-01 10:14
|
|
|
|
(0136239)
|
hgbot
|
2022-04-01 10:14
|
|
|
|
(0136240)
|
hgbot
|
2022-04-01 10:14
|
|
|
|
(0136241)
|
hgbot
|
2022-04-01 10:14
|
|
|
|
(0136242)
|
hgbot
|
2022-04-01 10:14
|
|
|
|
(0136243)
|
hgbot
|
2022-04-01 10:14
|
|
|
|
(0136244)
|
hgbot
|
2022-04-01 10:14
|
|
|
|
(0136245)
|
hgbot
|
2022-04-01 10:14
|
|
|
|
(0136287)
|
hgbot
|
2022-04-03 23:54
|
|
|