Openbravo Issue Tracking System - POS2
View Issue Details
0049054POS2POSpublic2022-04-13 14:292023-04-11 16:54
aferraz 
javierRodriguez 
normalmajorhave not tried
closedfixed 
5
 
23Q3 
No
0049054: JIRA 2740 - Not possible to cancel and replace a prepaid order
Not possible to cancel and replace a prepaid order
In backoffice:
- Enable "Allow prepayments and partial payments" for "POS2SD VBS POS2 Terminal Type" touchpoint type.
- Change "Prepayment Percentage" to 50 for "Vall Blanca Store" organization.

In POS:
- Create a ticket for John Doo and Pickup in store delivery mode.
- Add one unit of Avalanche transceiver and change the price to 100.
- Click on Pay button and pay only the 50€ asked for prepayment.
- Load previous order and click on Cancel and Replace Order.
- Click on Pay button and check you get following error: "Cannot create subtotals, there are already payments."
It should work in the same way it works in Enyo POS:
- Payments added to the original order should be moved to the replace order.
- A new prepayment amount should be calculated for the replace order.
- If new prepayment amount is equal or lower than paid amount, you should be able to complete the replace order without paying the remaining amount (although you can pay it if you want).
- If new prepayment amount is higher than paid amount, you would need to pay at least the full new prepayment amount.
- If replace order total amount is lower than paid amount, a refund should be done.
No tags attached.
depends on feature request 0048822 new Retail Present prepaid information as payment subtotal for loaded tickets from backoffice 
depends on backport 005203523Q2 closed javierRodriguez JIRA 2740 - Not possible to cancel and replace a prepaid order 
depends on backport 005203623Q1.2 closed javierRodriguez JIRA 2740 - Not possible to cancel and replace a prepaid order 
Not all the children of this issue are yet resolved or closed.
Issue History
2022-04-13 14:29aferrazNew Issue
2022-04-13 14:29aferrazAssigned To => Retail
2022-04-13 14:29aferrazTriggers an Emergency Pack => No
2022-04-26 12:41guilleaerSummaryNot possible to cancel and replace a prepaid order => JIRA 2915 - Not possible to cancel and replace a prepaid order
2022-05-05 13:13guilleaerRelationship addeddepends on 0048822
2023-03-22 10:51aferrazAssigned ToRetail => javierRodriguez
2023-03-22 15:56aferrazSummaryJIRA 2915 - Not possible to cancel and replace a prepaid order => JIRA 2740 - Not possible to cancel and replace a prepaid order
2023-04-03 10:07guilleaerStatusnew => acknowledged
2023-04-03 10:07guilleaerStatusacknowledged => scheduled
2023-04-04 16:11hgbotNote Added: 0148273
2023-04-04 16:11hgbotNote Added: 0148274
2023-04-04 16:14hgbotResolutionopen => fixed
2023-04-04 16:14hgbotStatusscheduled => resolved
2023-04-04 16:14hgbotFixed in Version => 23Q3
2023-04-04 16:14hgbotNote Added: 0148275
2023-04-11 16:54guilleaerStatusresolved => closed

Notes
(0148273)
hgbot   
2023-04-04 16:11   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: ab252c4727e62e1f62442fd3da19922e38fe029a
Author: Javier Rodriguez Regueiro <javier.rodriguez@openbravo.com>
Date: 04-04-2023 14:07:06
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/ab252c4727e62e1f62442fd3da19922e38fe029a [^]

Related to ISSUE-49054: [cancel-replace-prepayments] Set id atribute in payments

---
M src/org/openbravo/retail/posterminal/PaidReceipts.java
---
(0148274)
hgbot   
2023-04-04 16:11   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 9e1fbf11d000a92a3248cc3b6df76638880b3ce4
Author: Javier Rodriguez Regueiro <javier.rodriguez@openbravo.com>
Date: 04-04-2023 16:10:42
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/9e1fbf11d000a92a3248cc3b6df76638880b3ce4 [^]

Related to ISSUE-49054: Set id atribute in payments

---
M src/org/openbravo/retail/posterminal/PaidReceipts.java
---
(0148275)
hgbot   
2023-04-04 16:14   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: e6cf44ce5a35af27d3abb05b3dbf6fc6af58e467
Author: Javier Rodriguez Regueiro <javier.rodriguez@openbravo.com>
Date: 04-04-2023 16:13:08
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/e6cf44ce5a35af27d3abb05b3dbf6fc6af58e467 [^]

Fixed ISSUE-49054: Implement Cancel and Replace with prepayments

---
---