Openbravo Issue Tracking System - Retail Modules
View Issue Details
0056360Retail ModulesWeb POSpublic2024-08-14 11:352024-09-13 12:52
malsasua 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR24Q3.1RR24Q3.1 
No
0056360: Mitigation https://issues.openbravo.com/view.php?id=52070 [^] [https://issues.openbravo.com/view.php?id=52070 [^]] should not create a new cashup in POS
In the mitigation created by the issue
https://issues.openbravo.com/view.php?id=52070 [^]
during the login, if the cashup stored in local DB is processed in BO, the mitigation is creating a new cashup in local DB
But, sometimes, a cashup not processed can exist in the BO. But a new cashup is created in POS, then, when this cashup is synced to BO, there are 2 cashups with processed='N' in the BO
When the last cashup is completed in POS, a EWI is raised:
Previous cashup entries should be processed before processing the current cashup entry
n/a
the mitigation https://issues.openbravo.com/view.php?id=52070 [^]
instead of create a new cashup in POS, the system should check if exists another cashup not processed in the BO.
If exists, then it should be sent to POS instead of create a new cashup
No tags attached.
blocks defect 0056263 closed ranjith_qualiantech_com Mitigation https://issues.openbravo.com/view.php?id=52070 [^] should not create a new cashup in POS 
Issue History
2024-09-04 14:38marvintmTypedefect => backport
2024-09-04 14:38marvintmTarget Version => RR24Q3.1
2024-09-13 08:20hgbotNote Added: 0169158
2024-09-13 08:20hgbotNote Added: 0169159
2024-09-13 12:52hgbotResolutionopen => fixed
2024-09-13 12:52hgbotStatusscheduled => closed
2024-09-13 12:52hgbotFixed in Version => RR24Q3.1
2024-09-13 12:52hgbotNote Added: 0169193
2024-09-13 12:52hgbotNote Added: 0169194
2024-09-13 12:52hgbotNote Added: 0169195
2024-09-13 12:52hgbotNote Added: 0169196

Notes
(0169158)
hgbot   
2024-09-13 08:20   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1671 [^]
(0169159)
hgbot   
2024-09-13 08:20   
Merge Request created: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/418 [^]
(0169193)
hgbot   
2024-09-13 12:52   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: d060ba7ca1454fd623bda270f3acc00da6e7812d
Author: Ranjith S R <r.rangaraju@external.orisha.com>
Date: 09-09-2024 22:21:33
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/d060ba7ca1454fd623bda270f3acc00da6e7812d [^]

Fixed ISSUE-56360: Added validation to load unprocessed cashup from back office
* When login, if there is any unprocessed cashup in the backoffice
  and State Cashup & Backend Cashup are different, then it should be updated to POS State

---
M src/org/openbravo/retail/posterminal/InitialValidations.java
M web/org.openbravo.retail.posterminal/app/model/business-object/cashup/actions/InitCashup.js
---
(0169194)
hgbot   
2024-09-13 12:52   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1671 [^]
(0169195)
hgbot   
2024-09-13 12:52   
Merge request merged: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/418 [^]
(0169196)
hgbot   
2024-09-13 12:52   
Repository: https://gitlab.com/openbravo/ci/mobile-test [^]
Changeset: a65999b0e534b782047365219c4f1e0b215d5747
Author: Ranjith S R <r.rangaraju@external.orisha.com>
Date: 13-09-2024 08:47:20
URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/a65999b0e534b782047365219c4f1e0b215d5747 [^]

Related to ISSUE-56360: Disabled Offline Cashup Selenium test

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineAllowedFlows.java
---