Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0046791
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2021-05-21 17:072021-06-03 09:56
ReporterpsanjuanView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityurgentResolutionfixedFixed in VersionRR21Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version7.x
OS VersionOpenbravo Appliance 14.04Database version9.3.xAnt version1.9.x
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression levelPre packaging ( pi )
Regression date
Regression introduced in releasepi
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0046791: Tax can not be found

DescriptionTax can not be found
Steps To ReproduceGo 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
Proposed SolutionThe tax Exportaciones (%N=>0%) should have been selected.
TagsNOR
Attached Filespng file icon error_46791.png [^] (651,221 bytes) 2021-05-21 17:13
png file icon WebPOS21Q1.png [^] (267,182 bytes) 2021-05-21 17:13
png file icon Scenario21Q1.png [^] (171,543 bytes) 2021-05-21 17:14

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0045643 closedranjith_qualiantech_com Retail Modules Tax exempt usage is not applying in Tax Engine 
related to feature request 0045755 closedvmromanos Openbravo Localizations New taxes required set as Tax Exempt=Yes 
depends on backport 0046890RR21Q2.1 closedranjith_qualiantech_com Retail Modules Tax can not be found 

-  Notes
(0128508)
psanjuan (manager)
2021-05-21 17:08

This scenario is working in
https://livebuilds.openbravo.com/retail_mp_3.0RR21Q1.1/ [^]
See image attached.
(0128848)
hgbot (developer)
2021-06-01 10:01

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/444 [^]
(0128849)
hgbot (developer)
2021-06-01 10:01

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.taxes/-/merge_requests/5 [^]
(0128850)
hgbot (developer)
2021-06-01 10:01

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata/-/merge_requests/12 [^]
(0128851)
hgbot (developer)
2021-06-01 10:01

Merge Request created: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/merge_requests/14 [^]
(0128852)
hgbot (developer)
2021-06-01 10:01

Merge Request created: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/100 [^]
(0128901)
hgbot (developer)
2021-06-02 07:40

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/444 [^]
(0128902)
hgbot (developer)
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
---
(0128904)
hgbot (developer)
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
---
(0128906)
hgbot (developer)
2021-06-02 07:40

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.taxes/-/merge_requests/5 [^]
(0128907)
hgbot (developer)
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 (developer)
2021-06-02 07:40

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata/-/merge_requests/12 [^]
(0128910)
hgbot (developer)
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 (developer)
2021-06-02 07:40

Merge request merged: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/merge_requests/14 [^]
(0128913)
hgbot (developer)
2021-06-02 07:40

Merge request merged: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/100 [^]
(0128914)
hgbot (developer)
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 (manager)
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.


- Issue History
Date Modified Username Field Change
2021-05-21 17:07 psanjuan New Issue
2021-05-21 17:07 psanjuan Assigned To => Retail
2021-05-21 17:07 psanjuan Triggers an Emergency Pack => No
2021-05-21 17:08 psanjuan Note Added: 0128508
2021-05-21 17:09 psanjuan File Added: error_46791.png
2021-05-21 17:09 psanjuan File Added: Scenario21Q1.png
2021-05-21 17:12 psanjuan File Added: WebPOS21Q1.png
2021-05-21 17:12 psanjuan File Deleted: error_46791.png
2021-05-21 17:12 psanjuan File Deleted: Scenario21Q1.png
2021-05-21 17:12 psanjuan File Deleted: WebPOS21Q1.png
2021-05-21 17:13 psanjuan File Added: error_46791.png
2021-05-21 17:13 psanjuan File Added: WebPOS21Q1.png
2021-05-21 17:14 psanjuan File Added: Scenario21Q1.png
2021-05-24 16:51 psanjuan Regression level => Pre packaging ( pi )
2021-05-24 16:51 psanjuan Regression introduced in release => pi
2021-05-25 08:24 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2021-05-27 12:02 ranjith_qualiantech_com Relationship added related to 0045643
2021-05-28 12:45 rafaroda Tag Attached: NOR
2021-05-28 12:45 rafaroda Issue Monitored: rafaroda
2021-05-28 12:49 rafaroda Relationship added related to 0045755
2021-05-28 13:28 marvintm Status new => scheduled
2021-06-01 10:01 hgbot Note Added: 0128848
2021-06-01 10:01 hgbot Note Added: 0128849
2021-06-01 10:01 hgbot Note Added: 0128850
2021-06-01 10:01 hgbot Note Added: 0128851
2021-06-01 10:01 hgbot Note Added: 0128852
2021-06-02 07:40 hgbot Note Added: 0128901
2021-06-02 07:40 hgbot Note Added: 0128902
2021-06-02 07:40 hgbot Note Added: 0128904
2021-06-02 07:40 hgbot Note Added: 0128906
2021-06-02 07:40 hgbot Note Added: 0128907
2021-06-02 07:40 hgbot Note Added: 0128909
2021-06-02 07:40 hgbot Note Added: 0128910
2021-06-02 07:40 hgbot Note Added: 0128911
2021-06-02 07:40 hgbot Note Added: 0128913
2021-06-02 07:40 hgbot Note Added: 0128914
2021-06-02 07:41 marvintm Status scheduled => resolved
2021-06-02 07:41 marvintm Fixed in Version => RR21Q3
2021-06-02 07:41 marvintm Resolution open => fixed
2021-06-02 07:41 marvintm Review Assigned To => marvintm
2021-06-02 07:41 marvintm Status resolved => closed
2021-06-03 09:56 psanjuan Note Added: 0128997
2021-06-03 10:01 psanjuan Note Edited: 0128997 View Revisions
2021-06-03 10:13 psanjuan Note Edited: 0128997 View Revisions
2021-06-03 10:18 psanjuan Note Edited: 0128997 View Revisions
2021-06-03 10:21 psanjuan Note Edited: 0128997 View Revisions


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker