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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0039914
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2019-01-10 13:432019-01-11 09:03
ReporterjavierRodriguezView Statuspublic 
Assigned Toasiermartirena 
PrioritynormalResolutionfixedFixed in Version
StatusresolvedFix in branchFixed in SCM revisionaef7b1faf91c
ProjectionnoneETAnoneTarget Version
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

0039914: A JS error is shown when a ticket is paid again partially with Pay Open Ticket

Descriptionif you have a partially paid product created as Mara Studson with a service in your ticket and also a product set to undeliverable and you try to pay it partially with Pay Open Ticket, a JS error is going to be shown:

Uncaught (in promise) DOMException: Failed to execute 'executeSql' on 'SQLTransaction': SQL execution is disallowed.
Steps To Reproduce- Change the customer to Mara Studson
- Add blue trousers with Customize Blue Trousers as a service
- Add avalanche transceiver
- Set the avalanche transceiver as undeliverable
- Pay partially the ticket, just 50e.
- Open again the ticket
- Set the avalanche transceiver as deliverable
- Pay it again partially using Pay Open Ticket

*Included test that reproduce this issue
TagsNo tags attached.
Attached Files? file icon OMNI170_PayOpenTicketsAfterDelivery.java [^] (6,306 bytes) 2019-01-10 13:43

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0039915RR19Q1 resolvedasiermartirena A JS error is shown when a ticket is paid again partially with Pay Open Ticket 

-  Notes
(0108918)
hgbot (developer)
2019-01-11 08:44

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: aef7b1faf91c33b25f5c2d5449cb15cc11fc2210
Author: Asier Martirena <asier.martirena <at> openbravo.com>
Date: Thu Jan 10 18:03:52 2019 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/aef7b1faf91c33b25f5c2d5449cb15cc11fc2210 [^]

Fixed issue 39914: A JS error is shown when a ticket is paid again partially with Pay Open Ticket

Now, the properties set to a receipt before synchronizing it in 'Pay Open Tickets' (also the invoice property) are set before creating the database (websql) transaction.

---
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
---

- Issue History
Date Modified Username Field Change
2019-01-10 13:43 javierRodriguez New Issue
2019-01-10 13:43 javierRodriguez Assigned To => Retail
2019-01-10 13:43 javierRodriguez File Added: OMNI170_PayOpenTicketsAfterDelivery.java
2019-01-10 13:43 javierRodriguez Triggers an Emergency Pack => No
2019-01-10 13:50 javierRodriguez Status new => scheduled
2019-01-10 13:51 javierRodriguez Status scheduled => acknowledged
2019-01-11 08:44 hgbot Checkin
2019-01-11 08:44 hgbot Note Added: 0108918
2019-01-11 08:44 hgbot Status acknowledged => resolved
2019-01-11 08:44 hgbot Resolution open => fixed
2019-01-11 08:44 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/aef7b1faf91c33b25f5c2d5449cb15cc11fc2210 [^]
2019-01-11 09:03 marvintm Assigned To Retail => asiermartirena


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker