Openbravo Issue Tracking System - Retail Modules
View Issue Details
0032410Retail ModulesWeb POSpublic2016-03-04 13:592016-04-10 17:29
marvintm 
jorge-garcia 
normalmajoralways
closedfixed 
5
 
RR16Q2 
marvintm
Production - Confirmed Stable
2015-08-22
RR15Q4
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/54a8e71c3f32 [^]
No
0032410: Document sequence is reset when login offline is done
When a user logs in the Web POS in online mode, it automatically gets the current sequence which should be used for new tickets.

This used to work also in offline mode (because the sequence was stored in the local database), but since RR15Q4, this has stopped working and now when login offline is done, the sequence resets, and it goes back to 0.
- Log in the Web POS in VBS-1 terminal in online mode. Verify that the new ticket that is created has a correct document number (for example, VBS1/0000134).
- Log out.
- Go offline.
- Log in offline mode. Verify that the new ticket in this case has a wrong document number (in previous case, it should be the same, so VBS1/0000134, and instead, it will be VBS1/0000000).

No tags attached.
depends on backport 0032411RR16Q1 closed jorge-garcia Document sequence is reset when login offline is done 
depends on backport 0032412RR15Q4.5 closed jorge-garcia Document sequence is reset when login offline is done 
caused by design defect 0030590RR15Q4 closed Orekaria In the WebPOS document sequence table, It is possible to create more than 1 record for a terminal 
Issue History
2016-03-04 13:59marvintmNew Issue
2016-03-04 13:59marvintmAssigned To => Retail
2016-03-04 13:59marvintmTriggers an Emergency Pack => No
2016-03-04 14:00marvintmStatusnew => scheduled
2016-03-04 14:05OrekariaAssigned ToRetail => marvintm
2016-03-07 13:22jorge-garciaAssigned Tomarvintm => jorge-garcia
2016-03-07 15:35hgbotCheckin
2016-03-07 15:35hgbotNote Added: 0084777
2016-03-07 18:53marvintmRegression level => Production - Confirmed Stable
2016-03-07 18:53marvintmRegression date => 2015-08-22
2016-03-07 18:53marvintmRegression introduced in release => RR15Q4
2016-03-07 18:53marvintmRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/54a8e71c3f32 [^]
2016-03-08 08:45hgbotCheckin
2016-03-08 08:45hgbotNote Added: 0084800
2016-03-08 08:45hgbotStatusscheduled => resolved
2016-03-08 08:45hgbotResolutionopen => fixed
2016-03-08 08:45hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7cd36f98201acc5590f25a46aca1fea790391bf4 [^]
2016-03-08 09:34hgbotCheckin
2016-03-08 09:34hgbotNote Added: 0084805
2016-03-18 13:21marvintmReview Assigned To => marvintm
2016-03-18 13:21marvintmStatusresolved => closed
2016-03-18 13:21marvintmFixed in Version => RR16Q2
2016-04-10 17:25dmitry_mezentsevRelationship addedcaused by 0030592
2016-04-10 17:29dmitry_mezentsevRelationship addedcaused by 0030590
2016-04-10 17:29dmitry_mezentsevRelationship deletedcaused by 0030592

Notes
(0084777)
hgbot   
2016-03-07 15:35   
Repository: retail/backports/3.0RR15Q4.5/org.openbravo.mobile.core
Changeset: 59f9b055228e87d99bcc3b3e7f395ee9855906f2
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Mar 07 15:33:57 2016 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR15Q4.5/org.openbravo.mobile.core/rev/59f9b055228e87d99bcc3b3e7f395ee9855906f2 [^]

Fixed issue 32412: Document sequence is reset when login offline is done

Backport of issue 32410 for 3.0RR15Q4.5

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0084800)
hgbot   
2016-03-08 08:45   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 7cd36f98201acc5590f25a46aca1fea790391bf4
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Mar 07 13:33:24 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7cd36f98201acc5590f25a46aca1fea790391bf4 [^]

Fixed issue 32410: Document sequence is reset when login offline is done

The problem was that the document number is not set in offline mode during
the terminal model load.

Now the problem is fixed.

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0084805)
hgbot   
2016-03-08 09:34   
Repository: retail/backports/3.0RR16Q1/org.openbravo.mobile.core
Changeset: a0d2f37a7b7d61c29a10bfdec77c329ede0e4512
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Mar 07 16:58:26 2016 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR16Q1/org.openbravo.mobile.core/rev/a0d2f37a7b7d61c29a10bfdec77c329ede0e4512 [^]

Fixed issue 32411: Document sequence is reset when login offline is done

Backport of issue 32410 for 3.0RR16Q1

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---