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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0037315
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2017-11-16 18:462017-12-07 13:56
ReporterasiermartirenaView Statuspublic 
Assigned Toasiermartirena 
PriorityurgentResolutionfixedFixed in VersionRR18Q1
StatusclosedFix in branchFixed in SCM revision3fc75c477330
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0037315: Is possible to add a digital coupon payment to a specific order from pay open tickets

DescriptionWhen 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.
Steps To ReproduceLoad 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0100611)
hgbot (developer)
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 (developer)
2017-11-20 10:21

As agreed with Antonio, retail will be the responsible to create needed the automated tests.

- Issue History
Date Modified Username Field Change
2017-11-16 18:46 asiermartirena New Issue
2017-11-16 18:46 asiermartirena Assigned To => asiermartirena
2017-11-16 18:46 asiermartirena Triggers an Emergency Pack => No
2017-11-20 09:53 hgbot Checkin
2017-11-20 09:53 hgbot Note Added: 0100611
2017-11-20 09:53 hgbot Status new => resolved
2017-11-20 09:53 hgbot Resolution open => fixed
2017-11-20 09:53 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.digitalcoupons/rev/3fc75c47733022eb4be236a92628f3d3c6c83cf3 [^]
2017-11-20 10:21 asiermartirena Note Added: 0100613
2017-12-07 13:56 marvintm Review Assigned To => marvintm
2017-12-07 13:56 marvintm Status resolved => closed
2017-12-07 13:56 marvintm Fixed in Version => RR18Q1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker