Openbravo Issue Tracking System - Retail Modules
View Issue Details
0027927Retail ModulesWeb POSpublic2014-10-21 11:302014-11-12 11:31
aaroncalero 
mario_castello 
normalminoralways
closedfixed 
5
pi 
RR15Q1 
malsasua
No
0027927: Line Properties in a POS ticket don't reset if the properties pop-up is closed by cancelling or clicking outside
When editing the properties of a ticket line, if the value of a property is changed (e.g. the description), and the pop-up is closed by tapping the Cancel button or autodismissing the popup (clicking outside it), the change is not reset.
If you open the properties pop-up again, the changed value will still be there.
However, if you click on the ticket line (reselect the ticket line) before opening the properties pop-up the changed value will have been reset to its previous value
1. Create a new WebPOS ticket
2. Add a product; e.g. Avalanche transceiver
3. Select the ticket line. If the EDIT tab hasn't opened, tap the EDIT button on the right toolbar.
4. Tap the Description button to open the Line-item Properties pop-up. The Description property shoud be empty by default.
5. Add some description and close the pop-up (do NOT tap the apply button)
6. Tap the Description Button again.
*Expected result: Description should be empty because we did not apply the changes.
*Seen result: The description added in step 5 is still there.
7. Close the pop-up again
8. Tap on the ticket line
9. Click the Description button again
10. Now the Description field in the pop-up is empty (this is how it should be)
Tapping the description button on the EDIT tab should reset the Line-item Properties pop-up to its real values (the values stored in the line model)
No tags attached.
Issue History
2014-10-21 11:30aaroncaleroNew Issue
2014-10-21 11:30aaroncaleroAssigned To => marvintm
2014-10-21 11:30aaroncaleroTriggers an Emergency Pack => No
2014-10-30 16:02mario_castelloAssigned Tomarvintm => mario_castello
2014-10-30 16:02mario_castelloStatusnew => scheduled
2014-10-30 16:02mario_castellofix_in_branch => pi
2014-11-11 17:12hgbotCheckin
2014-11-11 17:12hgbotNote Added: 0071561
2014-11-11 17:12hgbotStatusscheduled => resolved
2014-11-11 17:12hgbotResolutionopen => fixed
2014-11-11 17:12hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fa8ccf7d58a75e215e1388ad9f22948bde164672 [^]
2014-11-11 19:00malsasuaReview Assigned To => malsasua
2014-11-11 19:00malsasuaNote Added: 0071570
2014-11-11 19:00malsasuaStatusresolved => closed
2014-11-11 19:00malsasuaFixed in Version => RR15Q1
2014-11-11 19:23hgbotCheckin
2014-11-11 19:23hgbotNote Added: 0071574
2014-11-12 11:30hgbotCheckin
2014-11-12 11:30hgbotNote Added: 0071597
2014-11-12 11:30hgbotStatusclosed => resolved
2014-11-12 11:30hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fa8ccf7d58a75e215e1388ad9f22948bde164672 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9e8d00dbbe1e787e479ba4bc01c658afe572c8ae [^]
2014-11-12 11:31malsasuaNote Added: 0071598
2014-11-12 11:31malsasuaStatusresolved => closed

Notes
(0071561)
hgbot   
2014-11-11 17:12   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: fa8ccf7d58a75e215e1388ad9f22948bde164672
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Tue Nov 11 10:11:25 2014 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fa8ccf7d58a75e215e1388ad9f22948bde164672 [^]

fixed issue 27927: Line Properties in a POS ticket don't reset if the properties pop-up is closed by cancelling or clicking outside

---
M web/org.openbravo.retail.posterminal/js/components/modalreceiptlineproperties.js
---
(0071570)
malsasua   
2014-11-11 19:00   
verified
(0071574)
hgbot   
2014-11-11 19:23   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: e5de46ef7d5784871b5871aaf4d2e924be19fd22
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Tue Nov 11 19:21:33 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e5de46ef7d5784871b5871aaf4d2e924be19fd22 [^]

Backed out issue 27927, changeset: fa8ccf7d58a7. JsLint errors.

---
M web/org.openbravo.retail.posterminal/js/components/modalreceiptlineproperties.js
---
(0071597)
hgbot   
2014-11-12 11:30   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 9e8d00dbbe1e787e479ba4bc01c658afe572c8ae
Author: Miguel A. Alsasua <miguel.alsasua <at> openbravo.com>
Date: Wed Nov 12 11:30:32 2014 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9e8d00dbbe1e787e479ba4bc01c658afe572c8ae [^]

fixed issue 27927: Line Properties in a POS ticket don't reset if the properties pop-up is closed by cancelling or clicking outside

---
M web/org.openbravo.retail.posterminal/js/components/modalreceiptlineproperties.js
---
(0071598)
malsasua   
2014-11-12 11:31   
jslint