Openbravo Issue Tracking System - Retail Modules
View Issue Details
0052576Retail ModulesWeb POSpublic2023-05-26 12:292023-06-26 12:57
psanjuan 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
30Openbravo Appliance 14.04
 
RR23Q3 
No
0052576: It should be possible to manage multi Price List in a channel touchpoint
It should be possible to manage multi Price List in a channel touchpoint, for that it will be required to enable the preference "Web POS Enable Multi Price List".
Currently, it is not possible to use multi-price list in a terminal because:

when a BP is selected in POS, two validations are executed:

- pricelist include tax/not include taxes should be the same that the main pricelist (the one configure by default at Org. level)

- currency should be the same that main pricelist (the one configure by default at Org. level)

If not, a popup will be displayed informing about this problem, and the main pricelist will be used to this customer
This validations should not be executed but just in the case when a "Verified Return" is being created, as in that particular scenario nothing nor the currency, nor the price list, nor the sales taxes, etc...should be changed.

It should always be possible to change the price list assigned to a BP, but that one should only be used for new sales transactions, not for returning already created transactions for a specific price list or currency.

Business scenario:
- Vall Blanca store has configured a price list "The White Valley Group Sale Price List including taxes", however the customer Arturo Montoro has another one "The White Valley Group Sale Price List excluding taxes"
- A new sales is created in the POS for the customer Arturo Montoro, the following message is shown:
"Customer Price List('The White Valley Group Sale Price List excluding taxes') configuration is not same as Terminal Price List('The White Valley Group Sale Price List including taxes') configuration. So Terminal Price List will be used for this receipt"

That should not happen if a NEW sale is being created, Web POS should be able to manage a sale with a diferente price list than the price list of the store.

Only in the case that an existing transaction is being return, these checks must be performed. A return implies no change of any data included in the original sale, including sales taxes, prices, promotions, price list, currency, etc..

Same way if an already existing transaction created with a a given price list/currency/sales taxes, etc is being used for whatever kind of action (ie. payment or whatever other process), nothing should be recalculated on that original transaction.

In that sense if the feature "Cancel and Replace" is used, cancel transaction should be exactly the same as the original one (same price list, currency, sales taxes..etc) and new one could have different settings, for instance a new BP price list or new discounts or promotions.
No tags attached.
related to defect 0041927 closed ranjith_qualiantech_com Data inconsistency is provoked when multiprice list is used in WEBPOS [ Quotations and Verified Returns ] 
Issue History
2023-05-26 12:29psanjuanNew Issue
2023-05-26 12:29psanjuanAssigned To => Retail
2023-05-26 12:29psanjuanTriggers an Emergency Pack => No
2023-05-26 12:32psanjuanProposed Solution updated
2023-05-26 12:45psanjuanProposed Solution updated
2023-05-26 12:59psanjuanProposed Solution updated
2023-05-26 13:02psanjuanProposed Solution updated
2023-05-26 13:48psanjuanProposed Solution updated
2023-05-30 07:53marvintmRelationship addedrelated to 0041927
2023-05-31 15:39ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2023-06-01 09:19ranjith_qualiantech_comStatusnew => scheduled
2023-06-12 09:33hgbotNote Added: 0151016
2023-06-12 09:34hgbotNote Added: 0151018
2023-06-12 09:34hgbotNote Added: 0151019
2023-06-23 10:56hgbotNote Added: 0151551
2023-06-23 10:56hgbotNote Added: 0151552
2023-06-23 10:56hgbotNote Added: 0151553
2023-06-23 10:56hgbotNote Added: 0151554
2023-06-23 10:56hgbotResolutionopen => fixed
2023-06-23 10:56hgbotStatusscheduled => closed
2023-06-23 10:56hgbotFixed in Version => RR23Q3
2023-06-23 10:56hgbotNote Added: 0151555
2023-06-23 10:56hgbotNote Added: 0151556
2023-06-26 12:57hgbotNote Added: 0151638

Notes
(0151016)
hgbot   
2023-06-12 09:33   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1239 [^]
(0151018)
hgbot   
2023-06-12 09:34   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.returns/-/merge_requests/56 [^]
(0151019)
hgbot   
2023-06-12 09:34   
Merge Request created: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/295 [^]
(0151551)
hgbot   
2023-06-23 10:56   
Repository: https://gitlab.com/openbravo/ci/mobile-test [^]
Changeset: 0bb9cd186f0abe25ab21772c6b6b71ffe7ae1c1a
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 23-06-2023 08:56:15
URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/0bb9cd186f0abe25ab21772c6b6b71ffe7ae1c1a [^]

Verifies ISSUE-52576: Removed Customer PriceList change validation

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/multipricelists/I52576_VerifyVRWithMultiPriceList.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/customer/I39251_VerifyPriceWhenCustomerPriceListWasModified.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I32561_VerifyPriceListBasedOnCustomerPL.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sharedpaymentmethods/SPMDiscountsWithoutPriceIncludeTaxes.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sharedpaymentmethods/SPMMulticurrencyPayInEURUSD.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sharedpaymentmethods/SPMSaleAndReloadSharedPayments.java
---
(0151552)
hgbot   
2023-06-23 10:56   
Merge request merged: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/295 [^]
(0151553)
hgbot   
2023-06-23 10:56   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: ca10df1b3afc33c0a3b1ea8a3fb344bfadb97378
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 23-06-2023 07:24:06
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/ca10df1b3afc33c0a3b1ea8a3fb344bfadb97378 [^]

Related to ISSUE-52576: Removed Pricelist validation if MultiPriceList is enabled
* Product price should be changed based on receipt customer's price list

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/retail/posterminal/PaidReceiptProperties.java
M web/org.openbravo.retail.posterminal/js/components/businesspartner_selector.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0151554)
hgbot   
2023-06-23 10:56   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1239 [^]
(0151555)
hgbot   
2023-06-23 10:56   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.returns [^]
Changeset: 53edbb91cafb2e56d53936b52861bd75cb5de228
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 23-06-2023 07:24:08
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.returns/-/commit/53edbb91cafb2e56d53936b52861bd75cb5de228 [^]

Fixed ISSUE-52576: Added validation when adding multiple verfied returns ticket
* When adding verified return lines, existing receipt's and new receipt's
  pricelist configuration should be same

---
M web-test/model/business-object/ticket/actions/ReturnVerifiedTicket-actionPreparation.test.js
M web-test/model/business-object/ticket/actions/ReturnVerifiedTicket.test.js
M web/org.openbravo.retail.returns/app/model/business-object/ticket/actions/ReturnVerifiedTicket.js
M web/org.openbravo.retail.returns/js/modalReturnLines.js
M web/org.openbravo.retail.returns/js/returnUtils.js
---
(0151556)
hgbot   
2023-06-23 10:56   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.returns/-/merge_requests/56 [^]
(0151638)
hgbot   
2023-06-26 12:57   
Repository: https://gitlab.com/openbravo/ci/mobile-test [^]
Changeset: 3041fa6c3cc6086aae18a061d79da703e5d3948d
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 26-06-2023 16:26:30
URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/3041fa6c3cc6086aae18a061d79da703e5d3948d [^]

Verifies ISSUE-52576: Updated Automated tests
* Optimized payment methods tests for oracle

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sharedpaymentmethods/SPMDiscountsWithoutPriceIncludeTaxes.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sharedpaymentmethods/SPMMulticurrencyPayInEURUSD.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sharedpaymentmethods/SPMSaleAndReloadSharedPayments.java
---