Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051971
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[POS2] POSmajorhave not tried2023-03-09 09:472023-05-08 15:10
ReporterebecerraView Statuspublic 
Assigned Toebecerra 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version23Q1.3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0051971: Invalid cash change when using prepayments

DescriptionWhen you pay an order with cash prepayment and change the amount of advance payment, the change value is incorrect.
Steps To Reproduce1. Configure the POS to allow prepayments and use "Deliver Receipt Options"
   a. Open the organization window and select "Vall Blanca Store" and in the section "Retail configuration" change "Prepayment Percentage" to 50 (See screenshot: BO_Org.png)
   b. Open the Channel - Touchpoint Type window and select "POS2SD VBS POS2 Terminal Type" and in section "Openbravo POS Terminal Configuration" check "Allow prepayments and partial payments" and "Deliver Receipt Options" (See screenshot: OB_ChannelTouchpointType.png)

2. Create an order and set customer and delivery condition
   a. Add product "Avalanche transceiver"
   b. Select customer "John Doo"
   c. Change delivery condition to: "Pickup in store"
 
3. Change de prepayment amount (See screenshot: PaymentChange.png)
   a. Press "Pay" button
   b. Change "Prepayment" amount from 75.25 to 90

4. Make the prepayment with Cash (See screenshot: Payment.png)
   a. Add a payment of 90 in Cash

5. Complete the order (See screenshot: ReceiptDeliver.png)
   a. Press "Done" button

   
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0051819 closedebecerra Invalid cash change when using prepayments 

-  Notes
(0149180)
hgbot (developer)
2023-05-03 09:46

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1173 [^]
(0149440)
hgbot (developer)
2023-05-08 15:10

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1173 [^]
(0149441)
hgbot (developer)
2023-05-08 15:10

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: e68227235c0540a34d5de401837e775851e5a3f9
Author: Eduardo Becerra <eduardo.becerra@openbravo.com>
Date: 08-05-2023 13:10:07
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/e68227235c0540a34d5de401837e775851e5a3f9 [^]

Fixes ISSUE-51971: Calculate prepayment amount using paymentSubtotals (only defined in POS2)

---
A web-test/model/business-object/ticket/TicketUtils-Prepayments.test.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/TicketUtils.js
---

- Issue History
Date Modified Username Field Change
2023-03-24 12:32 ebecerra Type defect => backport
2023-03-24 12:32 ebecerra Target Version => 23Q1.1
2023-03-28 12:40 guillermogil Target Version 23Q1.1 => 23Q1.2
2023-05-03 09:46 hgbot Note Added: 0149180
2023-05-04 11:32 marvintm Target Version 23Q1.2 => 23Q1.3
2023-05-08 15:10 hgbot Resolution open => fixed
2023-05-08 15:10 hgbot Status scheduled => closed
2023-05-08 15:10 hgbot Note Added: 0149440
2023-05-08 15:10 hgbot Fixed in Version => RR23Q1.3
2023-05-08 15:10 hgbot Note Added: 0149441


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker