Openbravo Issue Tracking System - POS2
View Issue Details
0053484POS2POSpublic2023-09-18 14:142023-09-28 07:42
ranjith_qualiantech_com 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
23Q2.4 
No
0053484: 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 => 23Q2.4
2023-09-27 08:28hgbotNote Added: 0155280
2023-09-27 08:28hgbotNote Added: 0155281
2023-09-27 08:28hgbotNote Added: 0155282
2023-09-28 07:42hgbotResolutionopen => fixed
2023-09-28 07:42hgbotNote Added: 0155316
2023-09-28 07:42hgbotStatusscheduled => closed
2023-09-28 07:42hgbotFixed in Version => RR23Q2.4
2023-09-28 07:42hgbotNote Added: 0155317
2023-09-28 07:42hgbotNote Added: 0155318
2023-09-28 07:42hgbotNote Added: 0155319
2023-09-28 07:42hgbotNote Added: 0155320
2023-09-28 07:42hgbotNote Added: 0155321

Notes
(0155280)
hgbot   
2023-09-27 08:28   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1366 [^]
(0155281)
hgbot   
2023-09-27 08:28   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2124 [^]
(0155282)
hgbot   
2023-09-27 08:28   
Merge Request created: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/331 [^]
(0155316)
hgbot   
2023-09-28 07:42   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1366 [^]
(0155317)
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: f8eba7f75bb1adddbd9d123aa5a40b37981bb353
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 26-09-2023 22:23:43
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/f8eba7f75bb1adddbd9d123aa5a40b37981bb353 [^]

Fixed ISSUE-53484: 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
---
(0155318)
hgbot   
2023-09-28 07:42   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 3d6ddbd1cd3656adfe5f679cdb4016f6fd992947
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 26-09-2023 22:34:12
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/3d6ddbd1cd3656adfe5f679cdb4016f6fd992947 [^]

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

---
M web-jspack/org.openbravo.pos2/src/model/user-interface/actions/cashup/SetInitialCountCashup.js
---
(0155319)
hgbot   
2023-09-28 07:42   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2124 [^]
(0155320)
hgbot   
2023-09-28 07:42   
Merge request merged: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/331 [^]
(0155321)
hgbot   
2023-09-28 07:42   
Repository: https://gitlab.com/openbravo/ci/mobile-test [^]
Changeset: 1aa9473eda596afe9466670b1c478066dca1b3c5
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 27-09-2023 11:52:25
URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/1aa9473eda596afe9466670b1c478066dca1b3c5 [^]

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

---
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/sessions/openstoretill/I40490_VerifyTillDifferenceNotDeletedWhenCacheIsCleared.java
---