Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031703Retail ModulesWeb POSpublic2015-12-14 12:472015-12-31 14:33
amayavicente 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR16Q1RR16Q1 
Orekaria
No
0031703: [SERQA 452] Show open documents in 'Receipts'
In Front office, when a document is opened (ticket, layaway ...) and we search this document (via the menu) it does not appear in the list of results.
It should appear in the list even if itis already open, maybe with a color code or something that specify it exists but we can't select it because it was open by another user.
1. Log into the webpos
2. Open in the menu 'Receipt' select any order.
3. Open again the menu option 'Receipt' and check that the previous order open is not shown in the list.

Same behaviour for layaways and quotations.
1. 1 terminal 1 session, show the open receipts in the selector and once the user select it show a message indicating "the receipt is already opened and it could have been modified" and go to it/open it.
2. 1 terminal 2 sessions, show the open receipts in the selector and once the user select it show a message indicating "the receipt is already opened in the session of "USERNAME", you can not open it"
3. 2 terminals --> Leave it as it is.

SER-QA
patch issue #31703 Source 5547.patch (4,583) 2015-12-28 10:00
https://issues.openbravo.com/file_download.php?file_id=8861&type=bug
patch issue #31703 Test 4852.patch (4,870) 2015-12-28 10:01
https://issues.openbravo.com/file_download.php?file_id=8862&type=bug
Issue History
2015-12-14 12:47amayavicenteNew Issue
2015-12-14 12:47amayavicenteAssigned To => Retail
2015-12-14 12:47amayavicenteResolution time => 1451257200
2015-12-14 12:47amayavicenteTriggers an Emergency Pack => No
2015-12-14 12:48amayavicenteTag Attached: SER-QA
2015-12-14 13:23OrekariaProposed Solution updated
2015-12-14 13:29OrekariaProposed Solution updated
2015-12-14 13:37OrekariaStatusnew => acknowledged
2015-12-14 16:02OrekariaProposed Solution updated
2015-12-17 10:44ageteNote Added: 0082814
2015-12-17 10:44ageteProposed Solution updated
2015-12-18 09:51ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2015-12-18 09:51ranjith_qualiantech_comStatusacknowledged => scheduled
2015-12-18 13:15ageteProposed Solution updated
2015-12-22 04:19hgbotCheckin
2015-12-22 04:19hgbotNote Added: 0082914
2015-12-22 04:20hgbotCheckin
2015-12-22 04:20hgbotNote Added: 0082915
2015-12-22 04:20hgbotCheckin
2015-12-22 04:20hgbotNote Added: 0082916
2015-12-22 04:20hgbotStatusscheduled => resolved
2015-12-22 04:20hgbotResolutionopen => fixed
2015-12-22 04:20hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7b92034583b39b366abb93ee5b23fe2b213f3b26 [^]
2015-12-28 10:00ranjith_qualiantech_comNote Added: 0083006
2015-12-28 10:00ranjith_qualiantech_comFile Added: issue #31703 Source 5547.patch
2015-12-28 10:01ranjith_qualiantech_comFile Added: issue #31703 Test 4852.patch
2015-12-28 11:21OrekariaStatusresolved => new
2015-12-28 11:21OrekariaResolutionfixed => open
2015-12-28 11:21OrekariaStatusnew => scheduled
2015-12-29 12:11OrekariaNote Added: 0083043
2015-12-30 16:03OrekariaTarget Version => RR16Q1
2015-12-31 13:11hgbotCheckin
2015-12-31 13:11hgbotNote Added: 0083110
2015-12-31 13:42OrekariaStatusscheduled => resolved
2015-12-31 13:42OrekariaFixed in Version => RR16Q1
2015-12-31 13:42OrekariaResolutionopen => fixed
2015-12-31 13:42OrekariaReview Assigned To => Orekaria
2015-12-31 13:42OrekariaStatusresolved => closed
2015-12-31 14:33hgbotCheckin
2015-12-31 14:33hgbotNote Added: 0083112

Notes
(0082814)
agete   
2015-12-17 10:44   
The receipt must be shown in the list
But, if the receipt is already opened, the existing receipt will be shown
If the receipt was modified, the receipt must keep the modifications

A popup should be shown saying that:
"The receipt was already loaded and it could have been modified since it was open"
(0082914)
hgbot   
2015-12-22 04:19   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: dd9cf593ce34db52e55897309a852c29181ebc56
Author: Ranjith <ranjith <at> qualiantech.com>
Date: Mon Dec 21 23:21:27 2015 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/dd9cf593ce34db52e55897309a852c29181ebc56 [^]

Related to issue 31703 : Incrementing Mobile Core Version

---
M web/org.openbravo.mobile.core/source/main.js
---
(0082915)
hgbot   
2015-12-22 04:20   
Repository: tools/automation/pi-mobile
Changeset: 41e228022158cbde4261635ef111989dee9a9091
Author: Ranjith <ranjith <at> qualiantech.com>
Date: Mon Dec 21 23:23:08 2015 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/41e228022158cbde4261635ef111989dee9a9091 [^]

Verifies issue 31703: Added automated test 'I31703_OpenReceiptIfAlreadyExists'

---
M src-test/org/openbravo/test/mobile/common/selenium/javascript/TestId.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/layaway/I31161_OpenTheSameLayawayTwice.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/CheckModuleVersions.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I31703_OpenReceiptIfAlreadyExists.java
---
(0082916)
hgbot   
2015-12-22 04:20   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 7b92034583b39b366abb93ee5b23fe2b213f3b26
Author: Ranjith <ranjith <at> qualiantech.com>
Date: Tue Dec 22 08:48:02 2015 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7b92034583b39b366abb93ee5b23fe2b213f3b26 [^]

Fixes issue 31703 : Incrementing POS Terminal Version, Load Receipt in Popup Selector if it is already opened in receipt list

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.retail.posterminal/js/components/modalpaidreceipts.js
M web/org.openbravo.retail.posterminal/js/main.js
---
(0083006)
ranjith_qualiantech_com   
2015-12-28 10:00   
1) Changed warning msg to popup
2) Fixed issue while reactivating quotation & open in multiple session

Attached diff
issue 0031703 Source 5547.patch
issue 0031703 Test 4852.patch
(0083043)
Orekaria   
2015-12-29 12:11   
In a terminal in which 2 sessions are opened, the receipt should be able to be opened in the session that requests it. It should not be blocked by the other session.
(0083110)
hgbot   
2015-12-31 13:11   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 96b9f560db82617f6c97fdc3fb1d9b9d00044688
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Thu Dec 31 11:45:23 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/96b9f560db82617f6c97fdc3fb1d9b9d00044688 [^]

Related to issue 31703: Handle the situation in which a ticket is opened in two different sessions

A confirmation popup has been implemented in case the opened Layaway, Ticket or Quotation is opened already and stored in local database. If confirmed the order will be removed from local database and opened in the current session. If not confirmed it will not be opened.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.retail.posterminal/js/components/modalpaidreceipts.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0083112)
hgbot   
2015-12-31 14:33   
Repository: tools/automation/pi-mobile
Changeset: 22fe5477a851486a8273f43af03e9fa731cc987b
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Thu Dec 31 12:48:28 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/22fe5477a851486a8273f43af03e9fa731cc987b [^]

Related to issue 31703: Changes for the 'I31703_OpenReceiptIfAlreadyExists' test

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I31703_OpenReceiptIfAlreadyExists.java
---