Openbravo Issue Tracking System - Retail Modules
View Issue Details
0044555Retail ModulesWeb POSpublic2020-06-18 12:172020-07-22 18:50
Leyre 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
RR20Q3 
adrianromero
Production - Confirmed Stable
2019-11-06
RR20Q1
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4369b93ea8521399ca95e53ce68e2187ea037a03 [^]
No
0044555: Incorrect cash-up values: "Total to Keep" and "Total to Deposit".
Incorrect cash-up values: "Total to Keep" and "Total to Deposit".
Backend:
https://livebuilds.openbravo.com/retail_pi_pgsql/ [^]

1. Configure the payment methods of a Touchpoint Type -> Cash Up section(see attached image backend.png):
   Count Payment in Cash Up = Y
   Automate Movement to Other Account = Y
   Allow Not to Move = Y
   Rest of the fields = N

Web POS:
https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^]

1. Open a Touchpoint, which belongs to the previous Touchpoint Type.
2. Finish and pay a receipt. In our example: product price = 254.10 and payment method = cash.
3. Cash up

Actual result: See attached image webpos.png and verify that the Total to Keep = 0.00 and the Total to Deposit = 254.10

Expected result: Total to Keep = 254.10 and Total to Deposit = 0.00.
No tags attached.
blocks defect 0044410 closed ranjith_qualiantech_com Incorrect cash-up values: "Total to Keep" and "Total to Deposit". 
Issue History
2020-07-06 07:56marvintmTypedefect => backport
2020-07-06 07:56marvintmTarget Version => RR20Q3
2020-07-10 08:22hgbotResolutionopen => fixed
2020-07-10 08:22hgbotStatusscheduled => resolved
2020-07-10 08:22hgbotNote Added: 0121385
2020-07-22 18:50adrianromeroReview Assigned To => adrianromero
2020-07-22 18:50adrianromeroNote Added: 0121566
2020-07-22 18:50adrianromeroStatusresolved => closed

Notes
(0121385)
hgbot   
2020-07-10 08:22   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 8712d01e878a5f71f86ceab11f2299073fb7bc88
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2020-07-10T11:34:37+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/8712d01e878a5f71f86ceab11f2299073fb7bc88 [^]

Fixed issue-44555: Payment method counted should be used to update the qtyToKeep

* If CountCash is not configured for Payment method, then qtyToKeep will be updated by counted instead of foreignCounted

---
M web/org.openbravo.retail.posterminal/js/closecash/model/closecash-model.js
---
(0121566)
adrianromero   
2020-07-22 18:50   
Verified