Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037315Retail ModulesWeb POSpublic2017-11-16 18:462017-12-07 13:56
asiermartirena 
asiermartirena 
urgentmajoralways
closedfixed 
5
 
RR18Q1 
marvintm
No
0037315: Is possible to add a digital coupon payment to a specific order from pay open tickets
When adding a digital coupon payment in pay open tickets, it is possible to add the payment directly to one of the orders, instead to add directly to the multi order model. This causes the situation in which the pay open tickets flow doesn't know that the payment is added to the ticket, and is asking to introduce an amount ignoring the introduced payment.

This occurs because there is a call to the digital coupons popup using the reference to the global order (OB.MobileApp.model.receipt) instead of setting the correct order, the multiorder in this case.
Load two tickets in Web POS and do a pay open tickets with those tickets.

Click on the digital coupon payment method. The digital coupon popup appears.

Click on the escape button. Check that the selected payment method is the digital coupon.

Click on the 'check' button to introduce a payment with the total amount of the selected payment method, digital coupons in this case.

Introduce a payment.

The payment is not added to the multiorder model, but to the global (OB.MobileApp.model.receipt) order.
No tags attached.
Issue History
2017-11-16 18:46asiermartirenaNew Issue
2017-11-16 18:46asiermartirenaAssigned To => asiermartirena
2017-11-16 18:46asiermartirenaTriggers an Emergency Pack => No
2017-11-20 09:53hgbotCheckin
2017-11-20 09:53hgbotNote Added: 0100611
2017-11-20 09:53hgbotStatusnew => resolved
2017-11-20 09:53hgbotResolutionopen => fixed
2017-11-20 09:53hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.digitalcoupons/rev/3fc75c47733022eb4be236a92628f3d3c6c83cf3 [^]
2017-11-20 10:21asiermartirenaNote Added: 0100613
2017-12-07 13:56marvintmReview Assigned To => marvintm
2017-12-07 13:56marvintmStatusresolved => closed
2017-12-07 13:56marvintmFixed in Version => RR18Q1

Notes
(0100611)
hgbot   
2017-11-20 09:53   
Repository: erp/pmods/org.openbravo.retail.digitalcoupons
Changeset: 3fc75c47733022eb4be236a92628f3d3c6c83cf3
Author: Asier Martirena <asier.martirena <at> openbravo.com>
Date: Thu Nov 16 19:00:48 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.digitalcoupons/rev/3fc75c47733022eb4be236a92628f3d3c6c83cf3 [^]

Fixed issue 37315: Fixed issue when introducing digital coupon payments in pay open tickets

---
M web/org.openbravo.retail.digitalcoupons/js/hookPaymentSelected.js
M web/org.openbravo.retail.digitalcoupons/js/hookPreAddPayment.js
---
(0100613)
asiermartirena   
2017-11-20 10:21   
As agreed with Antonio, retail will be the responsible to create needed the automated tests.