Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0048950 | Retail Modules | Web POS | public | 2022-03-10 13:24 | 2022-04-01 13:28 |
|
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 | RR22Q1.2 | Fixed in Version | RR22Q1.2 | |
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 | 0048950: 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 | blocks | defect | 0048762 | | closed | gorka_gil | Many unneded tax rules are loaded in WebPOS making tax engine very slow |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2022-03-31 16:37 | gorka_gil | Type | defect => backport |
2022-03-31 16:37 | gorka_gil | Target Version | => RR22Q1.2 |
2022-04-01 12:54 | hgbot | Note Added: 0136253 | |
2022-04-01 13:13 | hgbot | Note Added: 0136255 | |
2022-04-01 13:15 | hgbot | Note Added: 0136256 | |
2022-04-01 13:28 | hgbot | Resolution | open => fixed |
2022-04-01 13:28 | hgbot | Status | scheduled => closed |
2022-04-01 13:28 | hgbot | Fixed in Version | => RR22Q1.2 |
2022-04-01 13:28 | hgbot | Note Added: 0136257 | |
2022-04-01 13:28 | hgbot | Note Added: 0136258 | |
2022-04-01 13:28 | hgbot | Note Added: 0136259 | |
2022-04-01 13:28 | hgbot | Note Added: 0136260 | |
2022-04-01 13:28 | hgbot | Note Added: 0136261 | |
2022-04-01 13:28 | hgbot | Note Added: 0136262 | |
2022-04-01 13:28 | hgbot | Note Added: 0136263 | |
2022-04-01 13:28 | hgbot | Note Added: 0136264 | |
2022-04-01 13:28 | hgbot | Note Added: 0136265 | |
2022-04-01 13:28 | hgbot | Note Added: 0136266 | |
2022-04-01 13:28 | hgbot | Note Added: 0136267 | |
2022-04-01 13:28 | hgbot | Note Added: 0136268 | |
Notes |
|
(0136253)
|
hgbot
|
2022-04-01 12:54
|
|
|
|
(0136255)
|
hgbot
|
2022-04-01 13:13
|
|
|
|
(0136256)
|
hgbot
|
2022-04-01 13:15
|
|
|
|
(0136257)
|
hgbot
|
2022-04-01 13:28
|
|
|
|
(0136258)
|
hgbot
|
2022-04-01 13:28
|
|
|
|
(0136259)
|
hgbot
|
2022-04-01 13:28
|
|
|
|
(0136260)
|
hgbot
|
2022-04-01 13:28
|
|
|
|
(0136261)
|
hgbot
|
2022-04-01 13:28
|
|
|
|
(0136262)
|
hgbot
|
2022-04-01 13:28
|
|
|
|
(0136263)
|
hgbot
|
2022-04-01 13:28
|
|
|
|
(0136264)
|
hgbot
|
2022-04-01 13:28
|
|
|
|
(0136265)
|
hgbot
|
2022-04-01 13:28
|
|
|
|
(0136266)
|
hgbot
|
2022-04-01 13:28
|
|
|
|
(0136267)
|
hgbot
|
2022-04-01 13:28
|
|
|
|
(0136268)
|
hgbot
|
2022-04-01 13:28
|
|
|