Openbravo Issue Tracking System - Retail Modules
View Issue Details
0046791Retail ModulesWeb POSpublic2021-05-21 17:072021-06-03 09:56
psanjuan 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
30Openbravo Appliance 14.04
 
RR21Q3 
marvintm
Pre packaging ( pi )
pi
No
0046791: Tax can not be found
Tax can not be found
Go to https://livebuilds.openbravo.com/retail_pi_pgsql/ [^]
Enable the preference "Web POS Enable Delivery Modes".
Go to Product window and select HOME DELIVERY Delivery Mode for the product Avalanche Transceiver.

Go to Business Partner window and create two customers in "The White Valley Group" organization, one located in France and the other one located in the United States.

Go to POS create a new order for the customer of France. Select the product Avalanche Transceiver.
Verify that the tax rate "Entregas intracomunitarias (%N=>0%)" is selected. Complete the sale. This is correct.

Create a new order for the USA Customer, select Avalanche transceiver product.
Verify that below error is shown:
Tax is not found for the Product Avalanche transceiver
The tax Exportaciones (%N=>0%) should have been selected.
NOR
related to defect 0045643 closed ranjith_qualiantech_com Retail Modules Tax exempt usage is not applying in Tax Engine 
related to feature request 0045755 closed vmromanos Openbravo Localizations New taxes required set as Tax Exempt=Yes 
depends on backport 0046890RR21Q2.1 closed ranjith_qualiantech_com Retail Modules Tax can not be found 
png error_46791.png (651,221) 2021-05-21 17:13
https://issues.openbravo.com/file_download.php?file_id=15813&type=bug
png WebPOS21Q1.png (267,182) 2021-05-21 17:13
https://issues.openbravo.com/file_download.php?file_id=15814&type=bug
png Scenario21Q1.png (171,543) 2021-05-21 17:14
https://issues.openbravo.com/file_download.php?file_id=15815&type=bug
png
Issue History
2021-05-21 17:07psanjuanNew Issue
2021-05-21 17:07psanjuanAssigned To => Retail
2021-05-21 17:07psanjuanTriggers an Emergency Pack => No
2021-05-21 17:08psanjuanNote Added: 0128508
2021-05-21 17:09psanjuanFile Added: error_46791.png
2021-05-21 17:09psanjuanFile Added: Scenario21Q1.png
2021-05-21 17:12psanjuanFile Added: WebPOS21Q1.png
2021-05-21 17:12psanjuanFile Deleted: error_46791.png
2021-05-21 17:12psanjuanFile Deleted: Scenario21Q1.png
2021-05-21 17:12psanjuanFile Deleted: WebPOS21Q1.png
2021-05-21 17:13psanjuanFile Added: error_46791.png
2021-05-21 17:13psanjuanFile Added: WebPOS21Q1.png
2021-05-21 17:14psanjuanFile Added: Scenario21Q1.png
2021-05-24 16:51psanjuanRegression level => Pre packaging ( pi )
2021-05-24 16:51psanjuanRegression introduced in release => pi
2021-05-25 08:24ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2021-05-27 12:02ranjith_qualiantech_comRelationship addedrelated to 0045643
2021-05-28 12:45rafarodaTag Attached: NOR
2021-05-28 12:45rafarodaIssue Monitored: rafaroda
2021-05-28 12:49rafarodaRelationship addedrelated to 0045755
2021-05-28 13:28marvintmStatusnew => scheduled
2021-06-01 10:01hgbotNote Added: 0128848
2021-06-01 10:01hgbotNote Added: 0128849
2021-06-01 10:01hgbotNote Added: 0128850
2021-06-01 10:01hgbotNote Added: 0128851
2021-06-01 10:01hgbotNote Added: 0128852
2021-06-02 07:40hgbotNote Added: 0128901
2021-06-02 07:40hgbotNote Added: 0128902
2021-06-02 07:40hgbotNote Added: 0128904
2021-06-02 07:40hgbotNote Added: 0128906
2021-06-02 07:40hgbotNote Added: 0128907
2021-06-02 07:40hgbotNote Added: 0128909
2021-06-02 07:40hgbotNote Added: 0128910
2021-06-02 07:40hgbotNote Added: 0128911
2021-06-02 07:40hgbotNote Added: 0128913
2021-06-02 07:40hgbotNote Added: 0128914
2021-06-02 07:41marvintmStatusscheduled => resolved
2021-06-02 07:41marvintmFixed in Version => RR21Q3
2021-06-02 07:41marvintmResolutionopen => fixed
2021-06-02 07:41marvintmReview Assigned To => marvintm
2021-06-02 07:41marvintmStatusresolved => closed
2021-06-03 09:56psanjuanNote Added: 0128997
2021-06-03 10:01psanjuanNote Edited: 0128997bug_revision_view_page.php?bugnote_id=0128997#r22662
2021-06-03 10:13psanjuanNote Edited: 0128997bug_revision_view_page.php?bugnote_id=0128997#r22663
2021-06-03 10:18psanjuanNote Edited: 0128997bug_revision_view_page.php?bugnote_id=0128997#r22664
2021-06-03 10:21psanjuanNote Edited: 0128997bug_revision_view_page.php?bugnote_id=0128997#r22665

Notes
(0128508)
psanjuan   
2021-05-21 17:08   
This scenario is working in
https://livebuilds.openbravo.com/retail_mp_3.0RR21Q1.1/ [^]
See image attached.
(0128848)
hgbot   
2021-06-01 10:01   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/444 [^]
(0128849)
hgbot   
2021-06-01 10:01   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.taxes/-/merge_requests/5 [^]
(0128850)
hgbot   
2021-06-01 10:01   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata/-/merge_requests/12 [^]
(0128851)
hgbot   
2021-06-01 10:01   
Merge Request created: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/merge_requests/14 [^]
(0128852)
hgbot   
2021-06-01 10:01   
Merge Request created: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/100 [^]
(0128904)
hgbot   
2021-06-02 07:40   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.taxes [^]
Changeset: 42556de6f6cc9691edd2fe854cc2874d195ebb78
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-05-31T15:29:22+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.taxes/-/commit/42556de6f6cc9691edd2fe854cc2874d195ebb78 [^]

Related to ISSUE-46791: Backout changes of ISSUE-45643

This reverts commit 541b70d53cfabbaeb18762bee6761304872c5628.

---
M src-test/org/openbravo/taxes/test/base/Tax.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/TaxesTestData03.java
M src-test/org/openbravo/taxes/test/data/TaxesTestData17.java
M src-test/org/openbravo/taxes/test/data/TaxesTestData18.java
M src-test/org/openbravo/taxes/test/data/TaxesTestData20.java
M src-test/org/openbravo/taxes/test/data/TaxesTestData22.java
M src-test/org/openbravo/taxes/test/util/TaxesTestConstants.java
---
(0128902)
hgbot   
2021-06-02 07:40   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: f31e5cbdc92e01f2a21f56839bb70f63672d5524
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-05-31T15:28:17+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/f31e5cbdc92e01f2a21f56839bb70f63672d5524 [^]

Related to ISSUE-46791: Backout changes of ISSUE-45643

This reverts commit 53dbd0a31ac0e5db94315d14a38f8e47cbf5a37d.

---
M web/org.openbravo.retail.posterminal/app/model/business-logic/taxes-engine/engine/tax-engine.js
M web/org.openbravo.retail.posterminal/js/model/businesspartner.js
---
(0128901)
hgbot   
2021-06-02 07:40   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/444 [^]
(0128906)
hgbot   
2021-06-02 07:40   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.taxes/-/merge_requests/5 [^]
(0128907)
hgbot   
2021-06-02 07:40   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata [^]
Changeset: 08c5b2addf733d1f4edf5bfca8f01bcd0cace0b0
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-05-31T15:29:59+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata/-/commit/08c5b2addf733d1f4edf5bfca8f01bcd0cace0b0 [^]

Related to ISSUE-46791: Backout changes of ISSUE-45643

This reverts commit 337e96c985e0e8a19296ef96a51087e8edd97171.

---
M referencedata/sampledata/The_White_Valley_Group/AD_USER.xml
M referencedata/sampledata/The_White_Valley_Group/C_BPARTNER.xml
M referencedata/sampledata/The_White_Valley_Group/C_BPARTNER_LOCATION.xml
M referencedata/sampledata/The_White_Valley_Group/C_BP_CUSTOMER_ACCT.xml
M referencedata/sampledata/The_White_Valley_Group/C_BP_EMPLOYEE_ACCT.xml
M referencedata/sampledata/The_White_Valley_Group/C_BP_VENDOR_ACCT.xml
M referencedata/sampledata/The_White_Valley_Group/C_LOCATION.xml
M referencedata/sampledata/The_White_Valley_Group/C_TAX.xml
M referencedata/sampledata/The_White_Valley_Group/M_PRODUCT.xml
---
(0128909)
hgbot   
2021-06-02 07:40   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata/-/merge_requests/12 [^]
(0128910)
hgbot   
2021-06-02 07:40   
Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata [^]
Changeset: 336326987a8772612e06ea555ce3bae3f76c8ebf
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-05-31T15:30:30+05:30
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/commit/336326987a8772612e06ea555ce3bae3f76c8ebf [^]

Related to ISSUE-46791: Backout changes of ISSUE-45643

This reverts commit 0d17e7ec345e8e2a787e8526f35fb337137db837.

---
M referencedata/sampledata/The_White_Valley_Group/C_TAX.xml
M referencedata/sampledata/The_White_Valley_Group/C_TAXCATEGORY.xml
M referencedata/sampledata/The_White_Valley_Group/M_PRODUCT.xml
M referencedata/sampledata/The_White_Valley_Group/OBFMTC_PRODUCT_TAXCATEGORY.xml
---
(0128911)
hgbot   
2021-06-02 07:40   
Merge request merged: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/merge_requests/14 [^]
(0128913)
hgbot   
2021-06-02 07:40   
Merge request merged: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/100 [^]
(0128914)
hgbot   
2021-06-02 07:40   
Repository: https://gitlab.com/openbravo/ci/mobile-test [^]
Changeset: 4da936b58b16c8c2bcaf45b2dc7e2455f0803005
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-05-31T15:35:59+05:30
URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/4da936b58b16c8c2bcaf45b2dc7e2455f0803005 [^]

Related to ISSUE-46791: Backout changes of ISSUE-45643

This reverts commit f0297f94facd3f896d14dd95ba7d04589a6e29ce.

---
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/terminals/AutoServicePriceHelper.java
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/giftcards/I31978_VerfiyGiftCardWithBOMTax.java
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/multitaxcategory/CheckMultitaxCategory.java
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/multitaxcategory/I39645_VerifyMultitaxWhenTaxInAnotherBranchOfOrgTree.java
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/taxexempt/I37958_VerifyOrderLineWithTaxExempt.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/terminals/WebPOSInvoicePrepaymentServiceTerminalHelper.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cancelandnew/CancelLayawayDeferredServ.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cancelandreplace/I36267_CancelAndRplcLayawayDeferredService.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cancelandreplace/I36267_CancelAndRplcOrderDeferredService.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cancelandreplace/I36267_CancelAndRplcOrderMainProdHavingDeferredService.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cancelandreplace/I36267_CancelAndRplcOrderWithProdAndService.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cancelandreplace/I36267_CancelAndRplcOrderWithService.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cancelandreplace/I36267_CancelAndRplcProductOrderNoChng.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cancelandreplace/I36267_CancelAndRplcServiceLayawayServiceRmvd.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cancelandreplace/I36267_CancelAndRplcServiceOrderNoChng.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cancelandreplace/I36267_CancelLayawayDeferredService.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cancelandreplace/I36267_CancelLayawayMainProdHavingRelatedService.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cancelandreplace/I36267_CancelLayawayWithProdAndService.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cancelandreplace/I36267_CancelLayawayWithService.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cancelandreplace/I36267_CancelProdLayaway.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cancelandreplace/I36267_CancelServiceLayaway.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cancelandreplace/I36267_CancelServiceLayawayAndCancelRplcProdLayawayNoChng.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cancelandreplace/I36267_CancelServiceLayawayAndCancelRplcProdLayawayPrdRmvd.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/multiselection/ChangePriceMultipleLinesServiceApproval.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/prepaymentsAndInvoiceTerms/ImmediatePayOpenTicketsDeferredServicePrepayment290.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/prepaymentsAndInvoiceTerms/ImmediateServiceUniqueQuantityUndeliverableProductPrepayment240.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/prepaymentsAndInvoiceTerms/ImmediateServiceUniqueQuantityUndeliverableProductPrepayment260.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/prepaymentsAndInvoiceTerms/OMNI120_ServiceUniqueQuantityUndeliverableProductPrepaymentAfterDelivery.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/prepaymentsAndInvoiceTerms/OMNI140_ServiceUniqueQuantityUndeliverableProductPrepaymentWithapprovalAfterDelivery.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/prepaymentsAndInvoiceTerms/OMNI160_ServiceUniqueQuantityUndeliverableProductsPrepaymentWithapprovalAfterDelivery.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/prepaymentsAndInvoiceTerms/OMNI190_PayOpenTicketsDeferredServicePrepaymentWithApprovalAfterDelivery.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/productlockeddiscontinued/VerifyProductDiscontinuedWithPreference.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/productlockeddiscontinued/VerifyProductDiscontinuedWithStock.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/productlockeddiscontinued/VerifyProductDiscontinuedWithoutStock.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I35450_VerifyReceiptViewWithStockScreen.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I36071_VerifyNotServicesShownWhenProductNotAdd.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/returns/I31887_ReceiptWithDifferentProductTaxRate.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/returns/I33364_VerifyReturnOnSeviceOverdue.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/returns/I37730_WebPOSBreaksUnderCertainCircumstances.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sales/I33493_ReceiptVerifyButtonsAddServices.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/services/I39978_VerifyNoErrorOnShowServicesInNegativeLine.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/services/I40419_VerifyDeferredServiceInQuotation.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/services/I41363_VerifyNoOriginalTicketLinesInAddAssocOfCanclReplace.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/services/deferredsell/DeferredHelper.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/taxes/ThreeProductsCascadeTaxes.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/taxes/WebPOSTaxTerminalHelper.java
---
(0128997)
psanjuan   
2021-06-03 09:56   
(edited on: 2021-06-03 10:21)
Test Plan

Backoffice configuration:

- Enable the preference "Web POS Enable Delivery Modes".
- Go to product window and configure "Avalanche Transceiver" as "Home Delivery".
- Go to business partner window and create a customer do NOT exempt, located in France. Create another one do NOT exempt, located in the USA.
- Go to Busines partner window and create a new customer Exempt, and located in Spain (do not add any Region).
- Go to Product window and set "Exento" tax category to the product Headlamp Ultralight.
- Go to Tax Rate window and verify that below listed tax rates are configured as tax exempt:
Ventas Exentas, Ventas exentas (%N=>0%),Entregas intracomunitarias (%N=>0%) y Exportaciones (%N=>0%).

Test 1
Go to Web POS. Create a new sale for the French Customer.

Select the product Avalanche Transceiver. Verify that the tax rate "Entregas intracomunitarias (%N=>0%)" is shown. This is correct as Delivery Mode is Home Delivery.

Select Balaclava Cap. Verify that the tax rate shown is "Entregas IVA 21%". This is correct as Delivery Mode is Pick&Carry.

Select Headlamp Ultralight. Verify that the tax rate shown is "Ventas Exentas" as this product is related to an exempt tax category.

Test 2

Create a new sale for the USA Customer.

Select the product Avalanche Transceiver. Verify that the tax rate "Exportaciones %N=>0%)" is shown. This is correct as Delivery Mode is Home Delivery.

Select Balaclava Cap. Verify that the tax rate shown is "Entregas IVA 21%". This is correct as Delivery Mode is Pick&Carry.

Select Headlamp Ultralight. Verify that the tax rate shown is "Ventas Exentas" as this product is related to an exempt tax category.

Test 3

Create a new sale for the Anonymous customer (NOT exempt)

Select the product Avalanche Transceiver. Verify that the tax rate "Entregas IVA 21%)" is shown. This is correct as Delivery Mode is Home Delivery, and its address is Spain.

Select Balaclava Cap. Verify that the tax rate shown is "Entregas IVA 21%". This is correct as Delivery Mode is Pick&Carry.

Select Headlamp Ultralight. Verify that the tax rate shown is "Ventas Exentas" as this product is related to an exempt tax category.

Test 4

Create a new sale for the exempt customer (Exempt)

Select the product Avalanche Transceiver. Verify that the tax rate "Ventas exentas (%N=>0%)" is shown. This is correct as the product belongs to Normal VAT, but the customer is exempt, and located in Spain.

Select Balaclava Cap. Verify that the tax rate shown is "Ventas exentas (%N=>0%)". This is correct as the product belongs to Normal VAT, but the customer is exempt, and located in Spain.

Select Headlamp Ultralight. Verify that the tax rate shown is "Ventas Exentas" as this product is related to an exempt tax category.