Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040401Retail ModulesWeb POSpublic2019-03-18 10:012019-03-28 18:52
asiermartirena 
asiermartirena 
urgentmajoralways
closedfixed 
5
 
RR19Q2 
marvintm
No
0040401: JS error when deleting a ticket with a 'PP' service and with save delete tickets active
Having the 'Save removed tickets' preference set to 'Y', if a ticket is deleted having a product and a related 'As per product' service, a JavaScript error occurs stopping the flow and causing that the ticket to remove cannot be deleted (unless the service is previously deleted).
Set the 'Save removed tickets' property to 'Y'.
In the Web POS, create a ticket with a 'Blue trousers' product and add a 'Trousers warranty' service.

Delete the receipt -> The JavaScript error is raised
No tags attached.
Issue History
2019-03-18 10:01asiermartirenaNew Issue
2019-03-18 10:01asiermartirenaAssigned To => asiermartirena
2019-03-18 10:01asiermartirenaTriggers an Emergency Pack => No
2019-03-18 12:21hgbotCheckin
2019-03-18 12:21hgbotNote Added: 0110471
2019-03-18 12:21hgbotStatusnew => resolved
2019-03-18 12:21hgbotResolutionopen => fixed
2019-03-18 12:21hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d76a0e9b07d9729cedbd84a7e88737406aecf369 [^]
2019-03-18 17:14hgbotCheckin
2019-03-18 17:14hgbotNote Added: 0110484
2019-03-28 18:52marvintmReview Assigned To => marvintm
2019-03-28 18:52marvintmStatusresolved => closed
2019-03-28 18:52marvintmFixed in Version => RR19Q2

Notes
(0110471)
hgbot   
2019-03-18 12:21   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: d76a0e9b07d9729cedbd84a7e88737406aecf369
Author: Asier Martirena <asier.martirena <at> openbravo.com>
Date: Mon Mar 18 12:19:30 2019 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d76a0e9b07d9729cedbd84a7e88737406aecf369 [^]

Fixed issue 40401: Fixed JS error when deleting a ticket with save delete tickets active

Fixed JavaScript error generated when deleting a ticket that has a product and a service related with the 'As per product' quantity rule, and having the 'Save removed receipts' property set.

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0110484)
hgbot   
2019-03-18 17:14   
Repository: tools/automation/pi-mobile
Changeset: 3f3a3fc36fdab11067ded71dcc3b9ec7317e7e44
Author: Asier Martirena <asier.martirena <at> openbravo.com>
Date: Mon Mar 18 17:13:39 2019 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/3f3a3fc36fdab11067ded71dcc3b9ec7317e7e44 [^]

Related to issue 40401: Automated test

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/services/I40401_RemoveAndSaveTicketWithServices.java
---