Openbravo Issue Tracking System - POS2
View Issue Details
0048580POS2POSpublic2022-02-11 14:352022-02-22 09:40
guilleaer 
ebecerra 
normalmajorhave not tried
closedfixed 
5
 
 
No
0048580: 2693: Tax engine is not working well when several tax zones are defined
Doing specific configuration of taxes could lead in wrong behavior because taxes engine is not using correctly tax rate information

See: https://docs.google.com/document/d/183R2Z4FUNSpn3vAKUCJnPNeXI_qNy8szInxdztPaidA/edit?usp=sharing [^]
review joinRuleAndZone file
No tags attached.
related to defect 0048639RR22Q2 closed ebecerra Retail Modules 0048580: Tax engine is not working well when several tax zones are defined 
related to backport 0048642RR21Q4.4 closed ebecerra Retail Modules 0048580: Tax engine is not working well when several tax zones are defined 
related to backport 0048641RR22Q1.1 closed ebecerra Retail Modules 0048580: Tax engine is not working well when several tax zones are defined 
depends on backport 0048581TAP closed ebecerra POS2 2693: Tax engine is not working well when several tax zones are defined 
has duplicate defect 0051712pi new Triage Omni OMS Retail Modules Tax application error in POS 
related to defect 0049614 closed sebastien_liron Openbravo Localizations Wrong tax calculation for sales to exempt customers (conflict between Metropolitan/DOMTOM tax) 
related to backport 0051735 closed Triage Omni OMS Retail Modules 0048580: 2693: Tax engine is not working well when several tax zones are defined 
diff joinRuleAndZone.diff (1,597) 2022-02-17 12:43
https://issues.openbravo.com/file_download.php?file_id=16639&type=bug
Issue History
2022-02-11 14:35guilleaerNew Issue
2022-02-11 14:35guilleaerAssigned To => ebecerra
2022-02-11 14:35guilleaerTriggers an Emergency Pack => No
2022-02-11 14:35guilleaerStatusnew => scheduled
2022-02-14 10:18hgbotNote Added: 0134952
2022-02-17 12:41ebecerraSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=23676#r23676
2022-02-17 12:43ebecerraFile Added: joinRuleAndZone.diff
2022-02-17 12:45hgbotNote Added: 0135081
2022-02-17 12:52hgbotNote Added: 0135082
2022-02-21 09:04hgbotNote Added: 0135156
2022-02-21 12:20hgbotResolutionopen => fixed
2022-02-21 12:20hgbotStatusscheduled => closed
2022-02-21 12:20hgbotFixed in Version => RR22Q2
2022-02-21 12:20hgbotNote Added: 0135175
2022-02-21 12:20hgbotNote Added: 0135176
2022-02-21 12:21hgbotNote Added: 0135177
2022-02-21 12:21hgbotNote Added: 0135178
2022-02-21 12:24hgbotNote Added: 0135179
2022-02-21 12:26guilleaerNote Deleted: 0134952
2022-02-21 12:26guilleaerNote Deleted: 0135081
2022-02-21 13:35guilleaerStatusclosed => new
2022-02-21 13:35guilleaerResolutionfixed => open
2022-02-21 13:35guilleaerFixed in VersionRR22Q2 =>
2022-02-21 13:35guilleaerStatusnew => scheduled
2022-02-21 13:35guilleaerStatusscheduled => resolved
2022-02-21 13:35guilleaerResolutionopen => fixed
2022-02-21 13:35guilleaerStatusresolved => closed
2022-02-22 08:28hgbotFixed in Version => RR22Q1.1
2022-02-22 08:28hgbotNote Added: 0135201
2022-02-22 08:28hgbotNote Added: 0135202
2022-02-22 09:38guilleaerRelationship addedrelated to 0048639
2022-02-22 09:39guilleaerRelationship addeddepends on 0048641
2022-02-22 09:39guilleaerRelationship addedrelated to 0048642
2022-02-22 09:40guilleaerRelationship deleteddepends on 0048641
2022-02-22 09:40guilleaerRelationship addedrelated to 0048641
2022-07-13 15:10aferrazRelationship addedrelated to 0049614
2023-02-28 13:29aferrazRelationship addedrelated to 0051712
2023-02-28 13:47aferrazRelationship replacedhas duplicate 0051712
2023-03-01 09:29psanjuanRelationship addedrelated to 0051735

Notes
(0135082)
hgbot   
2022-02-17 12:52   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/724 [^]
(0135156)
hgbot   
2022-02-21 09:04   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.taxes/-/merge_requests/12 [^]
(0135175)
hgbot   
2022-02-21 12:20   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 604c2031404c1eac1596627b6a839669d1f1c3a4
Author: Eduardo Becerra (OB) <eduardo.becerra@openbravo.com>
Date: 21-02-2022 12:19:43
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/604c2031404c1eac1596627b6a839669d1f1c3a4 [^]

Fixes ISSUE-48580: Tax engine is not working well when several tax zones are defined

---
M web/org.openbravo.retail.posterminal/app/model/business-logic/taxes-engine/engine/tax-engine.js
---
(0135176)
hgbot   
2022-02-21 12:20   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/724 [^]
(0135177)
hgbot   
2022-02-21 12:21   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.taxes [^]
Changeset: 0fc6bfbc84cec403053c8d5109afb5d789ea1f7e
Author: Eduardo Becerra (OB) <eduardo.becerra@openbravo.com>
Date: 21-02-2022 11:21:02
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.taxes/-/commit/0fc6bfbc84cec403053c8d5109afb5d789ea1f7e [^]

Related ISSUE-48580: Add a new test to check multiples taxes by regions

---
A src-test/org/openbravo/taxes/test/data/TaxesTestData55.java
M src-test/org/openbravo/taxes/test/base/Tax.java
M src-test/org/openbravo/taxes/test/base/model/TaxZone.java
M src-test/org/openbravo/taxes/test/base/model/TaxesRule.java
M src-test/org/openbravo/taxes/test/base/model/TaxesRulesScenario.java
M src-test/org/openbravo/taxes/test/data/TaxesTestData54.java
M src-test/org/openbravo/taxes/test/unittests/TaxesTest.java
M src-test/org/openbravo/taxes/test/util/TaxesTestConstants.java
---
(0135178)
hgbot   
2022-02-21 12:21   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.taxes/-/merge_requests/12 [^]
(0135179)
hgbot   
2022-02-21 12:24   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: e3593248e884ae4231bdb7b5700da25da21c76fd
Author: Álvaro Ferraz <alvaro.ferraz@openbravo.com>
Date: 21-02-2022 12:23:50
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/e3593248e884ae4231bdb7b5700da25da21c76fd [^]

Related to ISSUE-48580: Update copyright

---
M web/org.openbravo.retail.posterminal/app/model/business-logic/taxes-engine/engine/tax-engine.js
---
(0135201)
hgbot   
2022-02-22 08:28   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 5964de2f2d152109ce379227a3e376318ae18c9c
Author: Eduardo Becerra (OB) <eduardo.becerra@openbravo.com>
Date: 22-02-2022 08:26:40
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/5964de2f2d152109ce379227a3e376318ae18c9c [^]

Fixes ISSUE-48580: Tax engine is not working well when several tax zones are defined

---
M web/org.openbravo.retail.posterminal/app/model/business-logic/taxes-engine/engine/tax-engine.js
---
(0135202)
hgbot   
2022-02-22 08:28   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: d60e7836e16303cb868f83b378162bf34668ffef
Author: Álvaro Ferraz <alvaro.ferraz@openbravo.com>
Date: 22-02-2022 08:27:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/d60e7836e16303cb868f83b378162bf34668ffef [^]

Related to ISSUE-48580: Update copyright

---
M web/org.openbravo.retail.posterminal/app/model/business-logic/taxes-engine/engine/tax-engine.js
---