Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047569Retail ModulesWeb POSpublic2021-08-18 11:412021-09-02 07:30
yogaskarnik 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
RR20Q2.2 
RR21Q4 
approved
OBPS
No
0047569: Surplus amount resets when opening till
When Cash up is done with a surplus amount it is not considered when opening till the next time.
- Login to Web POS
- Perform cash up
- Purchase a product
- Perform cash up with a surplus of 100
- Login again and notice that the Expected amount is 100 less

Updated Steps to Reproduce
-- Case 1 --
POS
Do Cashup
Backoffice - Touchpoint Type - Payment Method
Disable All payment method except cash
Cash payment method - Uncheck Allow move everything, Keep Fixed Amount, Allow Variable Amount
POS
Refresh POS
Complete Ticket of Price 100
Goto Cashup
  1) Count Amount with Denomination of 50, 20, 20, 10
  2) Excepted Amount = 100, Counted Amount = 100
  3) Goto Next. Confirm the amount
  4) Goto Next, Post, Print, Close will be shown
  Check Total To Keep.
  It should be 100. But it was 50.

-- Case 2 --
POS
Do Cashup
Backoffice - Touchpoint Type - Payment Method
Disable All payment method except cash
Cash payment method - Uncheck Allow Not to Move, Allow move everything, Keep Fixed Amount, Allow Variable Amount
POS
Refresh POS
Complete Ticket of Price 100
Goto Cashup
  1) Count Amount with Denomination of 50, 20, 20, 10
  2) Excepted Amount = 100, Counted Amount = 100
  3) Goto Next. Confirm the amount
  4) Goto Next, Post, Print, Close will be shown
  Check Total To Keep.
  It should be 0. But it was 50.

No tags attached.
png 47569_PaymentMethodSetup.png (144,168) 2021-08-27 11:43
https://issues.openbravo.com/file_download.php?file_id=16156&type=bug
png
Issue History
2021-08-18 11:41yogaskarnikNew Issue
2021-08-18 11:41yogaskarnikAssigned To => Retail
2021-08-18 11:41yogaskarnikOBNetwork customer => OBPS
2021-08-18 11:41yogaskarnikResolution time => 1630965600
2021-08-18 11:41yogaskarnikTriggers an Emergency Pack => No
2021-08-26 06:53ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2021-08-26 06:55ranjith_qualiantech_comStatusnew => scheduled
2021-08-27 11:43ranjith_qualiantech_comFile Added: 47569_PaymentMethodSetup.png
2021-08-27 13:40ranjith_qualiantech_comSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=23048#r23048
2021-08-30 09:43hgbotMerge Request Status => open
2021-08-30 09:43hgbotNote Added: 0131424
2021-08-30 09:43hgbotNote Added: 0131425
2021-09-02 07:30hgbotMerge Request Statusopen => approved
2021-09-02 07:30hgbotResolutionopen => fixed
2021-09-02 07:30hgbotStatusscheduled => closed
2021-09-02 07:30hgbotFixed in Version => RR21Q4
2021-09-02 07:30hgbotNote Added: 0131492
2021-09-02 07:30hgbotNote Added: 0131493
2021-09-02 07:30hgbotNote Added: 0131494
2021-09-02 07:30hgbotNote Added: 0131495

Notes
(0131424)
hgbot   
2021-08-30 09:43   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/557 [^]
(0131425)
hgbot   
2021-08-30 09:43   
Merge Request created: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/121 [^]
(0131492)
hgbot   
2021-09-02 07:30   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 3409433f91bfea9a0889ac8c3b777ad7d5e6e194
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-09-02T05:29:55+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/3409433f91bfea9a0889ac8c3b777ad7d5e6e194 [^]

Fixed ISSUE-47569: QtyToKeep should be updated based on Counted Amount
* If there is no config to keeping the amount and allownottomove is configured
  then, Counted Amount should be updated to QtyToKeep

---
M web/org.openbravo.retail.posterminal/js/closecash/model/closecash-model.js
---
(0131493)
hgbot   
2021-09-02 07:30   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/557 [^]
(0131494)
hgbot   
2021-09-02 07:30   
Merge request merged: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/121 [^]
(0131495)
hgbot   
2021-09-02 07:30   
Repository: https://gitlab.com/openbravo/ci/mobile-test [^]
Changeset: 220264dcebad2eacffacfbdfeaffdb76ad672230
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-08-30T08:19:42+05:30
URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/220264dcebad2eacffacfbdfeaffdb76ad672230 [^]

Verifies ISSUE-47569: Added test I47569_CashupAmountToKeep

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cashup/I47569_CashupAmountToKeep.java
---