Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0031379 | Retail Modules | Web POS | public | 2015-11-05 18:00 | 2015-12-01 09:59 |
|
Reporter | amayavicente | |
Assigned To | ranjith_qualiantech_com | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR16Q1 | |
Merge Request Status | |
Review Assigned To | marvintm |
OBNetwork customer | OBPS |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0031379: Duplicated document number when the user session changes |
Description | It is possible to create two tickets with the same Doc No in a POS terminal openning different sessions with two users.
|
Steps To Reproduce | User 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 Solution | Regarding 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 |
Additional Information | |
Tags | SER-QA |
Relationships | related to | defect | 0030979 | | closed | jorge-garcia | The document sequence is inconsistent when there is more than 1 empty receipt opened | related to | defect | 0034049 | RR16Q4 | closed | ranjith_qualiantech_com | Document type is reset when lock screen |
|
Attached Files | |
|
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 | OBNetwork customer | => Yes |
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 | bug_revision_view_page.php?rev_id=10084#r10084 |
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 | bug_revision_view_page.php?rev_id=10091#r10091 |
2015-11-06 10:42 | Orekaria | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=10092#r10092 |
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 |
Notes |
|
(0081966)
|
hgbot
|
2015-11-19 09:57
|
|
|
|
(0081967)
|
hgbot
|
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
|
2015-11-19 10:32
|
|
|
|
(0082077)
|
hgbot
|
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
---
|
|