Openbravo Issue Tracking System - Retail Modules
View Issue Details
0028690Retail ModulesWeb POSpublic2015-01-20 13:052024-02-08 14:42
Orekaria 
Retail 
normalmajoralways
closedout of date 
5
 
 
No
No
0028690: When the prefix is changed, the document number is not refreshed if there was a previous record
When the prefix is changed, the document number is not refreshed if there was a previous record
Execute the tests attached to this issue

or

Change to a new prefix (document or quotation)
Create a receipt with the new prefix
Change to the default prefix
Change back to the new prefix
Verify that the document number is not correct (the suffix or both the prefix and suffix are wrong)
No tags attached.
depends on design defect 0028832 closed Retail Changing the document or quotation prefix does not work in WebPOS 
Issue History
2015-01-20 13:05OrekariaNew Issue
2015-01-20 13:05OrekariaAssigned To => migueldejuana
2015-01-20 13:05OrekariaOBNetwork customer => No
2015-01-20 13:05OrekariaTriggers an Emergency Pack => No
2015-01-20 16:02OrekariaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=7496#r7496
2015-01-20 23:45hgbotCheckin
2015-01-20 23:45hgbotNote Added: 0073667
2015-01-20 23:45hgbotCheckin
2015-01-20 23:45hgbotNote Added: 0073668
2015-01-21 23:56hgbotCheckin
2015-01-21 23:56hgbotNote Added: 0073703
2015-02-16 10:06OrekariaRelationship addedrelated to 0028832
2015-02-16 10:56OrekariaRelationship replaceddepends on 0028832
2015-02-23 11:18OrekariaNote Added: 0074799
2015-02-23 11:20OrekariaNote Edited: 0074799bug_revision_view_page.php?bugnote_id=0074799#r7739
2016-03-15 15:19OrekariaAssigned Tomigueldejuana => Retail
2016-03-15 15:19OrekariaStatusnew => acknowledged
2016-03-15 18:04mario_castelloAssigned ToRetail => mario_castello
2016-03-16 21:31mario_castelloAssigned Tomario_castello => Retail
2016-08-03 14:34shivum039Assigned ToRetail => shivum039
2016-08-03 14:34shivum039Statusacknowledged => scheduled
2016-08-04 11:22marvintmTypedefect => design defect
2016-08-04 11:22marvintmNote Added: 0088814
2016-08-04 11:35shivum039Assigned Toshivum039 => Retail
2016-08-04 11:35shivum039Statusscheduled => acknowledged
2024-02-08 14:42shuehnerStatusacknowledged => scheduled
2024-02-08 14:42shuehnerNote Added: 0160449
2024-02-08 14:42shuehnerStatusscheduled => closed
2024-02-08 14:42shuehnerResolutionopen => out of date

Notes
(0073667)
hgbot   
2015-01-20 23:45   
Repository: tools/automation/pi-mobile
Changeset: 7f7f82bf572760351c38a3bcbe860016ffca0e2b
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Tue Jan 20 14:36:01 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/7f7f82bf572760351c38a3bcbe860016ffca0e2b [^]

Related to issue 28690: Added 2 new tests to verify that the issue has been correctly fixed

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/suites/ReceiptSuite.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/documentno/I28690_DocumentnoPrefixChangeAndSale.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/documentno/I28690_QuotationnoPrefixChangeAndSale.java
---
(0073668)
hgbot   
2015-01-20 23:45   
Repository: tools/automation/pi-mobile
Changeset: 7f638821932f06a1186736ae03a68d9d766843e2
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Tue Jan 20 23:36:48 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/7f638821932f06a1186736ae03a68d9d766843e2 [^]

Related to issue 28690: Deactivated the 'I27631_QuotationnoResetAfterChangingPrefix' test
* * *
Related to issue 28690: Deactivated the 'I27631_QuotationnoResetAfterChangingPrefix' test

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/suites/ReceiptSuite.java
---
(0073703)
hgbot   
2015-01-21 23:56   
Repository: tools/automation/pi-mobile
Changeset: a86c5ae84185e6825be2b54164a6aa827f496f9e
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Wed Jan 21 14:06:41 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/a86c5ae84185e6825be2b54164a6aa827f496f9e [^]

Related to issue 28690: Deactivated the 'I27631_DocumentnoResetAfterChangingPrefix' test

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/suites/ReceiptSuite.java
---
(0074799)
Orekaria   
2015-02-23 11:18   
(edited on: 2015-02-23 11:20)
Seems to be related to:

- sometimes OB.Dal.find is executed before the database has been created. check the console.warn, look for 'c_document_sequence' error message 'could not prepare statement'

Finding the proper loading state to call saveDocumentSequence when the terminal properties have been received, fixes the issue

(0088814)
marvintm   
2016-08-04 11:22   
As of now this is considered a design defect. The best workaround for customers would be to define a new POS Terminal if they need to change the prefix, and they also need to reset the sequence.
(0160449)
shuehner   
2024-02-08 14:42   
After mass reviewing old pos issues in 52891 => Closing as out of date