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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030979
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminoralways2015-09-29 19:172016-02-05 13:46
ReporterOrekariaView Statuspublic 
Assigned Tojorge-garcia 
PrioritynormalResolutionfixedFixed in VersionRR16Q2
StatusclosedFix in branchFixed in SCM revision5ed85f6ae00d
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

0030979: The document sequence is inconsistent when there is more than 1 empty receipt opened

DescriptionThe document sequence is inconsistent when there is more than 1 empty receipt opened
Steps To ReproduceLog in the webpos

1)
Leave the first receipt empty
Create a new receipt, add a product and finish the sale
Verify that the first receipt has seen its docno updated

2)
Leave the first receipt empty
Create a new receipt, leave it empty
Create a third receipt, add a product and finish the sale
Verify that the receipt shown has not seen its docno updated


Verify that, in the orde.js file, there is a method called 'synchronizeCurrentOrder' in which the receipt is updated if is the only existing
Proposed SolutionSince the terminal loading changes, there is no longer the necessity to update the first receipt. Try to get rid of that code.
See diff attached
TagsNo tags attached.
Attached Filesdiff file icon issue30979.diff [^] (1,758 bytes) 2015-10-08 14:21 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0031379 closedranjith_qualiantech_com Duplicated document number when the user session changes 

-  Notes
(0083227)
hgbot (developer)
2016-01-13 11:19

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: c8a1eff6bce6b8de2b12a205ed41c2fc83e32f61
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Jan 12 15:29:39 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c8a1eff6bce6b8de2b12a205ed41c2fc83e32f61 [^]

Fixed issue 30979: The document sequence is inconsistent when there is more
than 1 empty receipt opened

The function synchronizeCurrentOrder is not longer used.

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0083229)
hgbot (developer)
2016-01-13 11:20

Repository: tools/automation/pi-mobile
Changeset: 84a9b8e464136237256367a8ac30e85ba573527b
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Jan 12 15:26:59 2016 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/84a9b8e464136237256367a8ac30e85ba573527b [^]

Verifies issue 30979: The document sequence is inconsistent when there is more
than 1 empty receipt opened

Added test I30979_DocSeqInconsistent.

Some other test had been changed due to the new functionality:
* DocumentnoSynchronizationEmptyReceipt
* I28582_NoNewReceiptWhenQueueExists
* I30983_SalesFromQuotationDuplicateDocNo

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/documentno/DocumentnoSynchronizationEmptyReceipt.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I28582_NoNewReceiptWhenQueueExists.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sales/I30983_SalesFromQuotationDuplicateDocNo.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I30979_DocSeqInconsistent.java
---
(0083344)
hgbot (developer)
2016-01-15 12:00

Repository: tools/automation/pi-mobile
Changeset: f1c87d63214a676f83e30f1eda9f7f27aa4d72e9
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Fri Jan 15 11:58:56 2016 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/f1c87d63214a676f83e30f1eda9f7f27aa4d72e9 [^]

Related to issue 30979: The document sequence is inconsistent when there is
more than 1 empty receipt opened

Eliminate the warning message in pi-mobile

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/documentno/DocumentnoSynchronizationEmptyReceipt.java
---
(0083345)
hgbot (developer)
2016-01-15 12:01

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: e3b7c1539224b15af90d87c182eafd505cad9c76
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Fri Jan 15 11:46:57 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e3b7c1539224b15af90d87c182eafd505cad9c76 [^]

Related to issue 30979: The document sequence is inconsistent when there is
more than 1 empty receipt opened

Eliminate the commented lines.

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0083562)
hgbot (developer)
2016-01-22 11:57

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 5ed85f6ae00d0de6a63f52d8f999e81675e45ede
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Oct 08 14:07:04 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5ed85f6ae00d0de6a63f52d8f999e81675e45ede [^]

Fixes issue 0030979: The document sequence is inconsistent when there is more than 1 empty receipt opened
* Removing logic in synchronizeCurrentOrder() because with the new document no management is no longer needed

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---

- Issue History
Date Modified Username Field Change
2015-09-29 19:17 Orekaria New Issue
2015-09-29 19:17 Orekaria Assigned To => Retail
2015-09-29 19:17 Orekaria Triggers an Emergency Pack => No
2015-10-07 11:01 avicente Issue Monitored: avicente
2015-10-07 12:07 agete Issue Monitored: agete
2015-10-07 13:37 adrianromero Assigned To Retail => adrianromero
2015-10-08 14:21 adrianromero File Added: issue30979.diff
2015-10-08 14:21 adrianromero Proposed Solution updated
2015-10-08 14:30 adrianromero Status new => scheduled
2015-11-06 00:00 Orekaria Relationship added related to 0031379
2015-11-09 12:49 eduardo_Argal Assigned To adrianromero => Orekaria
2015-11-09 12:49 eduardo_Argal Status scheduled => feedback
2015-11-09 12:49 eduardo_Argal Status feedback => new
2015-11-09 12:57 Orekaria Status new => scheduled
2015-11-09 12:57 Orekaria Assigned To Orekaria => christiangoni
2016-01-13 11:17 jorge-garcia Assigned To christiangoni => jorge-garcia
2016-01-13 11:19 hgbot Checkin
2016-01-13 11:19 hgbot Note Added: 0083227
2016-01-13 11:19 hgbot Status scheduled => resolved
2016-01-13 11:19 hgbot Resolution open => fixed
2016-01-13 11:19 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c8a1eff6bce6b8de2b12a205ed41c2fc83e32f61 [^]
2016-01-13 11:20 hgbot Checkin
2016-01-13 11:20 hgbot Note Added: 0083229
2016-01-15 12:00 hgbot Checkin
2016-01-15 12:00 hgbot Note Added: 0083344
2016-01-15 12:01 hgbot Checkin
2016-01-15 12:01 hgbot Note Added: 0083345
2016-01-22 11:57 hgbot Checkin
2016-01-22 11:57 hgbot Note Added: 0083562
2016-01-22 11:57 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c8a1eff6bce6b8de2b12a205ed41c2fc83e32f61 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5ed85f6ae00d0de6a63f52d8f999e81675e45ede [^]
2016-02-05 13:46 marvintm Review Assigned To => marvintm
2016-02-05 13:46 marvintm Status resolved => closed
2016-02-05 13:46 marvintm Fixed in Version => RR16Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker