Openbravo Issue Tracking System - POS2
View Issue Details
0053483POS2POSpublic2023-09-18 14:142023-09-28 07:42
ranjith_qualiantech_com 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
23Q3.1 
No
0053483: Cashup properties was missed in the mitigation process (Validating draft ticket in backoffice)
New mitigation process added in the issue https://issues.openbravo.com/view.php?id=52864. [^] When the ticket is processed in backoffice, but not removed from POS State, then ticket will be removed from state and Cashup will be updated from backoffice during reload POS application.
In the above process, When updating Cashup from backoffice, few properties like totalStartings, usedInCurrentTrx, and few more are missed
-
No tags attached.
blocks defect 0053473 closed ranjith_qualiantech_com Cashup properties was missed in the mitigation process (Validating draft ticket in backoffice) 
Issue History
2023-09-19 02:39ranjith_qualiantech_comTypedefect => backport
2023-09-19 02:39ranjith_qualiantech_comTarget Version => 23Q3.1
2023-09-27 08:27hgbotNote Added: 0155277
2023-09-27 08:27hgbotNote Added: 0155278
2023-09-27 08:27hgbotNote Added: 0155279
2023-09-28 07:42hgbotResolutionopen => fixed
2023-09-28 07:42hgbotStatusscheduled => closed
2023-09-28 07:42hgbotFixed in Version => RR23Q3.1
2023-09-28 07:42hgbotNote Added: 0155310
2023-09-28 07:42hgbotNote Added: 0155311
2023-09-28 07:42hgbotNote Added: 0155312
2023-09-28 07:42hgbotNote Added: 0155313
2023-09-28 07:42hgbotNote Added: 0155314
2023-09-28 07:42hgbotNote Added: 0155315

Notes
(0155277)
hgbot   
2023-09-27 08:27   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2123 [^]
(0155278)
hgbot   
2023-09-27 08:27   
Merge Request created: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/330 [^]
(0155279)
hgbot   
2023-09-27 08:27   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1365 [^]
(0155310)
hgbot   
2023-09-28 07:42   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 4eb5109189b7426b3c3143e37749bd7646de1feb
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 26-09-2023 22:19:21
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/4eb5109189b7426b3c3143e37749bd7646de1feb [^]

Fixed ISSUE-53483: Added Cashup properties when creating cashup from backend
* When cashup loaded from backoffice, following cashup properties should be updated
  * Cashup totalStartings
  * Cashup PaymentMethod's cashManagementsInfo
  * Cashup documentNo sequence info

---
M src/org/openbravo/retail/posterminal/UpdateCashup.java
M src/org/openbravo/retail/posterminal/master/Cashup.java
M src/org/openbravo/retail/posterminal/term/Payments.java
M web-test/model/business-object/cashup/Cashup-initCashup-StateAction-fromBackend.test.js
M web-test/model/business-object/cashup/test-data/cashupAfterComplete.js
M web-test/model/business-object/cashup/test-data/cashupAfterLoadCashupFromBackend.js
M web-test/model/business-object/cashup/test-data/cashupAfterLoadCashupFromBackendWithoutPayments.js
M web-test/model/business-object/cashup/test-data/messagesAfterCompleteCashupSharedPayments.js
M web/org.openbravo.retail.posterminal/app/model/business-object/cashup/CashupUtils.js
M web/org.openbravo.retail.posterminal/app/model/business-object/cashup/PaymentMethodUtils.js
M web/org.openbravo.retail.posterminal/app/model/business-object/cashup/actions/InitCashup.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/TicketUtils.js
---
(0155311)
hgbot   
2023-09-28 07:42   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1365 [^]
(0155312)
hgbot   
2023-09-28 07:42   
Repository: https://gitlab.com/openbravo/ci/mobile-test [^]
Changeset: 35a9209b9eeff92363859e7f0c2268e6012fb10b
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 26-09-2023 22:38:04
URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/35a9209b9eeff92363859e7f0c2268e6012fb10b [^]

Verifies ISSUE-53483: Updated tests for validating Cashup after cache clear

---
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/sessions/openstoretill/I40490_VerifyTillDifferenceNotDeletedWhenCacheIsCleared.java
---
(0155313)
hgbot   
2023-09-28 07:42   
Merge request merged: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/330 [^]
(0155314)
hgbot   
2023-09-28 07:42   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2123 [^]
(0155315)
hgbot   
2023-09-28 07:42   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 2983780991c020b3394a2477121d73d221c75a5d
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 26-09-2023 22:37:45
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/2983780991c020b3394a2477121d73d221c75a5d [^]

Related to ISSUE-53483: TotalStartings should be updated based on Currency Rate

---
M web-jspack/org.openbravo.pos2/src/model/user-interface/actions/cashup/SetInitialCountCashup.js
---