Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031379
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2015-11-05 18:002015-12-01 09:59
ReporteramayavicenteView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in VersionRR16Q1
StatusclosedFix in branchFixed in SCM revision7df46dac9163
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031379: Duplicated document number when the user session changes

DescriptionIt is possible to create two tickets with the same Doc No in a POS terminal openning different sessions with two users.

Steps To ReproduceUser 1: Login; Create a ticket, for instance with Doc No. 00035;
        Add a product to the ticket.
        Do not finish the ticket (Leave the ticket as suspended ticket)
          and Lock screen.

User 2: Login; Create a ticket, the Doc No. is again 00035; (INCORRECT, it should be 00036)

Proposed SolutionRegarding the document sequence, the POS should behave like if it were in the same user session

Note, that when the WebPOS is locked, pending receipts are not removed from the c_order table
And, when a new receipt is created, the document number should be the next one
Maybe, the document sequence takes the user into account, which should not
TagsSER-QA
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0030979 closedjorge-garcia The document sequence is inconsistent when there is more than 1 empty receipt opened 
related to defect 0034049RR16Q4 closedranjith_qualiantech_com Document type is reset when lock screen 

-  Notes
(0081966)
hgbot (developer)
2015-11-19 09:57

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 3fb951b5e7976f08bfbbd220a62978a118eaebe2
Author: Ranjith <ranjith <at> qualiantech.com>
Date: Thu Nov 19 14:23:53 2015 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3fb951b5e7976f08bfbbd220a62978a118eaebe2 [^]

Fixing Issue 31379 : Generate Receipt Doc No. in Sequence irrespective of user session

---
M web/org.openbravo.retail.posterminal/js/closecash/model/cashup-model.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---
(0081967)
hgbot (developer)
2015-11-19 09:58

Repository: tools/automation/pi-mobile
Changeset: b599c71a48ca86f45ce81c896691bc647f4312a9
Author: Ranjith <ranjith <at> qualiantech.com>
Date: Thu Nov 19 14:23:58 2015 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/b599c71a48ca86f45ce81c896691bc647f4312a9 [^]

Verifies issue 31379: Added automated test 'I31379_DocumentSeqBasedOnUserSession'

---
M src-test/org/openbravo/test/mobile/common/selenium/javascript/TestId.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/documentno/I31379_DocumentSeqBasedOnUserSession.java
---
(0081971)
hgbot (developer)
2015-11-19 10:32

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 2d114abaa2dd25c956f87060637bbf6ab974b95e
Author: Ranjith <ranjith <at> qualiantech.com>
Date: Thu Nov 19 15:00:59 2015 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2d114abaa2dd25c956f87060637bbf6ab974b95e [^]

Fixes issue 31379 : Generate Receipt Doc No. in Sequence irrespective of user session

---
M web/org.openbravo.retail.posterminal/js/closecash/model/cashup-model.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---
(0082077)
hgbot (developer)
2015-11-23 12:59

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 7df46dac9163b8fc6a1e5f1d4a60bc229a980a3b
Author: Ranjith <ranjith <at> qualiantech.com>
Date: Mon Nov 23 17:27:05 2015 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7df46dac9163b8fc6a1e5f1d4a60bc229a980a3b [^]

Fixes issue 31379 : Generate Receipt Doc No. in Sequence irrespective of user session

In pointofsale-modal.js, 'session' attribute has been removed from the criteria, because to get the max of Document No, Quotation No from unpaid orders irrespective of users session
In cashup-model.js, 'session' attribute has been added to criteria to find orders based on user session

---
M web/org.openbravo.retail.posterminal/js/closecash/model/cashup-model.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---

- Issue History
Date Modified Username Field Change
2015-11-05 18:00 amayavicente New Issue
2015-11-05 18:00 amayavicente Assigned To => Retail
2015-11-05 18:00 amayavicente Triggers an Emergency Pack => No
2015-11-05 18:05 amayavicente Resolution time => 1447887600
2015-11-05 22:18 Orekaria Status new => acknowledged
2015-11-05 23:34 Orekaria Status acknowledged => scheduled
2015-11-05 23:34 Orekaria Status scheduled => feedback
2015-11-06 00:00 Orekaria Relationship added related to 0030979
2015-11-06 09:29 Orekaria Steps to Reproduce Updated View Revisions
2015-11-06 09:29 Orekaria Status feedback => new
2015-11-06 09:29 Orekaria Status new => feedback
2015-11-06 09:30 Orekaria Status feedback => new
2015-11-06 09:30 Orekaria Status new => acknowledged
2015-11-06 10:31 Orekaria Steps to Reproduce Updated View Revisions
2015-11-06 10:42 Orekaria Steps to Reproduce Updated View Revisions
2015-11-06 11:08 Orekaria Proposed Solution updated
2015-11-06 11:13 Orekaria Status acknowledged => scheduled
2015-11-06 11:13 Orekaria Assigned To Retail => ranjith_qualiantech_com
2015-11-06 11:15 Orekaria Summary Duplicated Document No => Duplicated document number when the user session changes
2015-11-19 09:57 hgbot Checkin
2015-11-19 09:57 hgbot Note Added: 0081966
2015-11-19 09:58 hgbot Checkin
2015-11-19 09:58 hgbot Note Added: 0081967
2015-11-19 10:32 hgbot Checkin
2015-11-19 10:32 hgbot Note Added: 0081971
2015-11-19 10:32 hgbot Status scheduled => resolved
2015-11-19 10:32 hgbot Resolution open => fixed
2015-11-19 10:32 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2d114abaa2dd25c956f87060637bbf6ab974b95e [^]
2015-11-19 11:01 Orekaria Review Assigned To => guilleaer
2015-11-23 12:59 hgbot Checkin
2015-11-23 12:59 hgbot Note Added: 0082077
2015-11-23 12:59 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2d114abaa2dd25c956f87060637bbf6ab974b95e [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/7df46dac9163b8fc6a1e5f1d4a60bc229a980a3b [^]
2015-11-23 13:06 marvintm Review Assigned To guilleaer => marvintm
2015-11-23 13:06 marvintm Status resolved => closed
2015-11-23 13:06 marvintm Fixed in Version => RR16Q1
2015-12-01 09:59 agete Tag Attached: SER-QA
2016-09-21 17:08 migueldejuana Relationship added related to 0034049


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker