Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031161Retail ModulesLayaway orderpublic2015-10-19 09:472015-10-23 14:53
aaroncalero 
fmolina 
normalmajoralways
closedfixed 
5
 
RR16Q1 
marvintm
No
0031161: Is is possible to open the same layaway twice from the pos, causing javascript/websql errors
It is possible to open the same layaway several times on web pos, causing javascript errors, because the application tries to store the same record on the c_order table repeatedly.
The issue is worse when the user starts the 'void layaway' process and then loads the same layaway: the 'void layaway' ticket disappears.
Login in web pos.
Load a layaway from the backend.
Void the layaway (Menu > Void this layaway).
Load the same layaway from the backend.
>> The void layaway ticket disappears
>> Javascript errors are raised in browser console.
No tags attached.
Issue History
2015-10-19 09:47aaroncaleroNew Issue
2015-10-19 09:47aaroncaleroAssigned To => Retail
2015-10-19 09:47aaroncaleroResolution time => 1445814000
2015-10-19 09:47aaroncaleroTriggers an Emergency Pack => No
2015-10-19 10:14OrekariaStatusnew => acknowledged
2015-10-20 14:35OrekariaResolution time1445814000 => 1446418800
2015-10-20 14:59fmolinaStatusacknowledged => scheduled
2015-10-20 14:59fmolinaAssigned ToRetail => fmolina
2015-10-22 17:45hgbotCheckin
2015-10-22 17:45hgbotNote Added: 0081232
2015-10-22 17:45hgbotStatusscheduled => resolved
2015-10-22 17:45hgbotResolutionopen => fixed
2015-10-22 17:45hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0dcf97938b599ba39fec1d821b9a10c00c2bec9c [^]
2015-10-22 17:47hgbotCheckin
2015-10-22 17:47hgbotNote Added: 0081233
2015-10-23 14:53marvintmReview Assigned To => marvintm
2015-10-23 14:53marvintmStatusresolved => closed
2015-10-23 14:53marvintmFixed in Version => RR16Q1

Notes
(0081232)
hgbot   
2015-10-22 17:45   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 0dcf97938b599ba39fec1d821b9a10c00c2bec9c
Author: Facundo Molina <fmolina <at> koodu.es>
Date: Thu Oct 22 12:44:32 2015 -0300
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0dcf97938b599ba39fec1d821b9a10c00c2bec9c [^]

Fixes issue 31161: it is possible to open the same layaway twice

---
M web/org.openbravo.retail.posterminal/js/components/modalpaidreceipts.js
---
(0081233)
hgbot   
2015-10-22 17:47   
Repository: tools/automation/pi-mobile
Changeset: 1e73a68a5e3fa2b7de89d9ea86ae464b76065e14
Author: Facundo Molina <fmolina <at> koodu.es>
Date: Thu Oct 22 12:46:49 2015 -0300
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/1e73a68a5e3fa2b7de89d9ea86ae464b76065e14 [^]

Related to issue 31161: test that a layaway cannot be opened twice

---
M src-test/org/openbravo/test/mobile/common/selenium/javascript/TestId.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/layaway/I31161_OpenTheSameLayawayTwice.java
---