Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034603Retail ModulesWeb POSpublic2016-11-23 11:402016-12-16 13:13
adrianromero 
mario_castello 
urgentmajorhave not tried
closedfixed 
5
 
RR17Q1 
marvintm
No
0034603: [SER-QA 2091] Trying to add a service to a paid ticket shows a javascript error
If trying to add a service not linked to product but marked as Allow Deferred Sales, raises a JS error
* In the backed configure a services as "Linked to product" NO and "Allow deferred sell" YES
* Create a new receipt in the web pos, and pay it
* Load this receipt in the Web POS
* Search the service configured in the previous step and try to add it
* Observe the JS error. See screenshot attached.
If this kind of services is selected when displayed a non editable ticket show the message "Not Editable Order".
See attached patch.
SER-QA
png Captura de pantalla de 2016-11-23 11:30:32.png (251,634) 2016-11-23 11:40
https://issues.openbravo.com/file_download.php?file_id=10098&type=bug
png

diff Issue34603.diff (1,172) 2016-11-23 12:29
https://issues.openbravo.com/file_download.php?file_id=10099&type=bug
Issue History
2016-11-23 11:40adrianromeroNew Issue
2016-11-23 11:40adrianromeroAssigned To => Retail
2016-11-23 11:40adrianromeroFile Added: Captura de pantalla de 2016-11-23 11:30:32.png
2016-11-23 11:40adrianromeroResolution time => 1481065200
2016-11-23 11:40adrianromeroTriggers an Emergency Pack => No
2016-11-23 11:41adrianromeroTag Attached: SER-QA
2016-11-23 12:29adrianromeroFile Added: Issue34603.diff
2016-11-23 12:30adrianromeroProposed Solution updated
2016-11-25 16:37mario_castelloAssigned ToRetail => mario_castello
2016-11-25 16:38mario_castelloStatusnew => acknowledged
2016-11-25 16:38mario_castelloStatusacknowledged => scheduled
2016-11-29 15:15hgbotCheckin
2016-11-29 15:15hgbotNote Added: 0091909
2016-11-29 15:15hgbotStatusscheduled => resolved
2016-11-29 15:15hgbotResolutionopen => fixed
2016-11-29 15:15hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2399855089f555fde2738f9399df928e21f0b511 [^]
2016-12-12 12:21marvintmNote Added: 0092281
2016-12-15 15:28hgbotCheckin
2016-12-15 15:28hgbotNote Added: 0092419
2016-12-16 13:13marvintmReview Assigned To => marvintm
2016-12-16 13:13marvintmStatusresolved => closed
2016-12-16 13:13marvintmFixed in Version => RR17Q1

Notes
(0091909)
hgbot   
2016-11-29 15:15   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 2399855089f555fde2738f9399df928e21f0b511
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Fri Nov 25 10:27:00 2016 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2399855089f555fde2738f9399df928e21f0b511 [^]

Fixed issue 0034603: [SER-QA 2091] Trying to add a service to a paid ticket shows a javascript error

- Added validation for linked product and prevet to add when the receipt aren't editable

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0092281)
marvintm   
2016-12-12 12:21   
Automated test is missing.
(0092419)
hgbot   
2016-12-15 15:28   
Repository: tools/automation/pi-mobile
Changeset: 45dc1f6ab3683dcf93614736cab4a88c9f1696c0
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Thu Dec 15 08:27:33 2016 -0600
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/45dc1f6ab3683dcf93614736cab4a88c9f1696c0 [^]

Verifies issue 34603: Added automated test I34603_PayTicketAndAddServices

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