Openbravo Issue Tracking System - POS2
View Issue Details
0053144POS2POSpublic2023-08-02 14:372023-09-25 09:41
rafaroda 
ranjith_qualiantech_com 
normalmajorhave not tried
closedfixed 
5
 
 
No
0053144: Cross Store Verified Return not showing at first click in POS Orders window
Cross Store Verified Return not showing at first click in POS Orders window

When doing a cross store return in POS REACT, and navigating to Orders window, the cross store return is not displaying at first glance, you needs to do some extra filtering to display it

See video https://drive.google.com/file/d/1afyvMqf-pPWmVBL5kzz2TK1oGoeo1P58/view?usp=drive_link [^]
In Live Builds for Vall Blanca store https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql/web/pos/?terminal=VBS-2 [^]

With user vallblanca / openbravo

1) Go to ORDERS window of POS and open a ticket from Vall Blanca store

2) Do a verified return from the ticket in 1): this is an INTER store (same store) return

3) Go to ORDERS window of POS: you can see at glance the return done in step 2): this is OK

4) Go to ORDERS window of POS and open a ticket from Vall Boi store

5) Do a verified return from the ticket in 4): this is a CROSS store (different store) return

6) Go to ORDERS window of POS: you CAN'T see the return done in step 5): you need to open different filter to be able to see it, this is KO --> see video https://drive.google.com/file/d/1afyvMqf-pPWmVBL5kzz2TK1oGoeo1P58/view?usp=drive_link [^]
No tags attached.
related to defect 0053200 closed yogaskarnik Cross Store: This Store (%0) is wrongly displaying for records that are NOT this store in Orders window of POS 
related to feature request 0052458 closed yogaskarnik Display Cross store Sales and Returns in the Order view 
Issue History
2023-08-02 14:37rafarodaNew Issue
2023-08-02 14:37rafarodaAssigned To => Retail
2023-08-02 14:37rafarodaTriggers an Emergency Pack => No
2023-08-02 14:42rafarodaRelationship addedrelated to 0052458
2023-08-07 07:45ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2023-08-07 08:57ranjith_qualiantech_comStatusnew => scheduled
2023-08-09 18:29dcontreraAssigned Toranjith_qualiantech_com => dcontrera
2023-08-10 00:35hgbotNote Added: 0153414
2023-08-10 22:55rafarodaRelationship addedrelated to 0053200
2023-08-14 17:43hgbotNote Added: 0153489
2023-08-16 11:06hgbotNote Added: 0153524
2023-08-16 11:07hgbotNote Added: 0153525
2023-08-18 13:47hgbotNote Added: 0153673
2023-08-18 13:47hgbotNote Added: 0153674
2023-08-18 13:47hgbotNote Added: 0153675
2023-08-18 13:47hgbotResolutionopen => fixed
2023-08-18 13:47hgbotStatusscheduled => closed
2023-08-18 13:47hgbotFixed in Version => RR23Q4
2023-08-18 13:47hgbotNote Added: 0153676
2023-08-18 13:47hgbotNote Added: 0153677
2023-08-18 13:47hgbotNote Added: 0153678
2023-08-18 13:47hgbotNote Added: 0153679
2023-08-18 13:47hgbotNote Added: 0153680
2023-08-29 11:59marvintmAssigned Todcontrera => ranjith_qualiantech_com
2023-08-29 11:59marvintmNote Added: 0154119
2023-08-29 11:59marvintmStatusclosed => new
2023-08-29 11:59marvintmResolutionfixed => open
2023-08-29 11:59marvintmFixed in VersionRR23Q4 =>
2023-08-30 02:07ranjith_qualiantech_comStatusnew => scheduled
2023-09-01 06:54hgbotNote Added: 0154278
2023-09-01 06:54hgbotNote Added: 0154279
2023-09-04 07:48hgbotResolutionopen => fixed
2023-09-04 07:48hgbotStatusscheduled => closed
2023-09-04 07:48hgbotFixed in Version => RR23Q4
2023-09-04 07:48hgbotNote Added: 0154361
2023-09-04 07:48hgbotNote Added: 0154362
2023-09-04 07:48hgbotNote Added: 0154363
2023-09-04 07:48hgbotNote Added: 0154364
2023-09-04 07:48hgbotNote Added: 0154365
2023-09-07 06:57hgbotNote Added: 0154568
2023-09-12 09:02hgbotNote Added: 0154704
2023-09-25 09:41hgbotNote Added: 0155198

Notes
(0153414)
hgbot   
2023-08-10 00:35   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata/-/merge_requests/67 [^]
(0153489)
hgbot   
2023-08-14 17:43   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1305 [^]
(0153524)
hgbot   
2023-08-16 11:06   
Merge Request created: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/merge_requests/96 [^]
(0153525)
hgbot   
2023-08-16 11:07   
Merge Request created: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/318 [^]
(0153673)
hgbot   
2023-08-18 13:47   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata/-/merge_requests/67 [^]
(0153674)
hgbot   
2023-08-18 13:47   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata [^]
Changeset: 83b361161e4bf60f58cee0759a446cf24af104fa
Author: dante.contrera <dante.contrera@smfconsulting.es>
Date: 18-08-2023 11:45:45
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata/-/commit/83b361161e4bf60f58cee0759a446cf24af104fa [^]

Related to ISSUE-53144: AD_OrgTrx_ID added to existing orders.

---
M referencedata/sampledata/The_White_Valley_Group/C_ORDER.xml
---
(0153675)
hgbot   
2023-08-18 13:47   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1305 [^]
(0153676)
hgbot   
2023-08-18 13:47   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 4eb9ae5933428939571e2c29ce42f8d3f7e8d126
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 17-08-2023 12:40:09
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/4eb9ae5933428939571e2c29ce42f8d3f7e8d126 [^]

Fixed ISSUE-53144: Added TrxOrganization filter in PaidReceipts
* When loading paid receipts without any filters, then
  receipt should be filtered with trxOrganization as current organization

---
M src/org/openbravo/retail/posterminal/PaidReceiptsFilter.java
---
(0153677)
hgbot   
2023-08-18 13:47   
Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata [^]
Changeset: 1232e4255db17ac7de7f5243de06b1b2e8a94355
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 18-08-2023 11:47:06
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/commit/1232e4255db17ac7de7f5243de06b1b2e8a94355 [^]

Related to ISSUE-53144: Added AD_OrgTrx_ID to existing orders.

---
M referencedata/sampledata/The_White_Valley_Group/C_ORDER.xml
---
(0153678)
hgbot   
2023-08-18 13:47   
Merge request merged: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/merge_requests/96 [^]
(0153679)
hgbot   
2023-08-18 13:47   
Merge request merged: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/318 [^]
(0153680)
hgbot   
2023-08-18 13:47   
Repository: https://gitlab.com/openbravo/ci/mobile-test [^]
Changeset: 54d9457b72e1d2f03b53a70dc64a459919cd9b31
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 14-08-2023 12:40:23
URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/54d9457b72e1d2f03b53a70dc64a459919cd9b31 [^]

Related to ISSUE-53144: Update CrossStore Payopen ticket tests

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/crossstore/CrossStoreUIPayOpenTickets.java
---
(0154119)
marvintm   
2023-08-29 11:59   
Request is working correctly initially, but it is not taking correctly into account the filter by Store because we didn't change this part:

" and org.id in (" //            + StringCollectionUtils.commaSeparated(POSUtils.getOrgListByCrossStoreId(crossStoreId),                true) //            + " )" //
(0154278)
hgbot   
2023-09-01 06:54   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1325 [^]
(0154279)
hgbot   
2023-09-01 06:54   
Merge Request created: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/324 [^]
(0154361)
hgbot   
2023-09-04 07:48   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 8602e8ebbcbccd74b79e68664446910fbd2b4bad
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 04-09-2023 05:47:48
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/8602e8ebbcbccd74b79e68664446910fbd2b4bad [^]

Fixed ISSUE-53144: Added TrxOrganization filter in PaidReceipts for CrossStore
* Added TrxOrganization filter in HQLFilters for Store & CrossStore
* Receipts should be filtered by creationDate instead of orderDate

---
M src/org/openbravo/retail/posterminal/CrossStoreHQLCriteria.java
M src/org/openbravo/retail/posterminal/PaidReceiptsFilter.java
M src/org/openbravo/retail/posterminal/StoreHQLCriteria.java
M web/org.openbravo.retail.posterminal/js/components/modalorderselector.js
---
(0154362)
hgbot   
2023-09-04 07:48   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1325 [^]
(0154363)
hgbot   
2023-09-04 07:48   
Repository: https://gitlab.com/openbravo/ci/mobile-test [^]
Changeset: c579af93adf3380d9c4ee1790266a23dfb9a10fe
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 30-08-2023 11:21:44
URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/c579af93adf3380d9c4ee1790266a23dfb9a10fe [^]

Related to ISSUE-53144: Revert changes in CrossStoreUIPayOpenTickets test

This reverts commit 54d9457b72e1d2f03b53a70dc64a459919cd9b31.

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/crossstore/CrossStoreUIPayOpenTickets.java
---
(0154364)
hgbot   
2023-09-04 07:48   
Repository: https://gitlab.com/openbravo/ci/mobile-test [^]
Changeset: 46b9f4df80f02d6e2a72945275ffa49a9155595c
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 01-09-2023 06:29:04
URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/46b9f4df80f02d6e2a72945275ffa49a9155595c [^]

Related to ISSUE-53144: Updated CrossStore tests for adding trxOrganzation filter
* Changed ShowCanceledOrders test for showing orders ordered by creationDate

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/crossstore/CrossStoreUIOpenReceipt.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/crossstore/CrossStoreUIPayOpenTickets.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/crossstore/CrossStoreUIVerifiedReturns.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/orderselector/ShowCanceledOrders.java
---
(0154365)
hgbot   
2023-09-04 07:48   
Merge request merged: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/324 [^]
(0154568)
hgbot   
2023-09-07 06:57   
Repository: https://gitlab.com/openbravo/ci/mobile-test [^]
Changeset: 77cef729c25457e91a5cc845154546ee2f9ace15
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 07-09-2023 10:24:21
URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/77cef729c25457e91a5cc845154546ee2f9ace15 [^]

Related to ISSUE-53144: Updated ShowCanceledOrders automated test

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/orderselector/ShowCanceledOrders.java
---
(0154704)
hgbot   
2023-09-12 09:02   
Repository: https://gitlab.com/openbravo/ci/mobile-test [^]
Changeset: 332e3bbc7e3d0f77de2a939b5a42dda59312d799
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 12-09-2023 12:32:22
URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/332e3bbc7e3d0f77de2a939b5a42dda59312d799 [^]

Related to ISSUE-53144: Revert changes in ShowCanceledOrders automated test

This reverts commit 77cef729c25457e91a5cc845154546ee2f9ace15.

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/orderselector/ShowCanceledOrders.java
---
(0155198)
hgbot   
2023-09-25 09:41   
Repository: https://gitlab.com/openbravo/ci/mobile-test [^]
Changeset: 7a34a4737dae473e481f3e1466ec1f9b7de45951
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 25-09-2023 13:10:27
URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/7a34a4737dae473e481f3e1466ec1f9b7de45951 [^]

Related to ISSUE-53144: Updated ShowCanceledOrders automated test

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/orderselector/ShowCanceledOrders.java
---