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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035927
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2017-05-04 11:252017-06-26 18:41
ReporterSandrahuguetView Statuspublic 
Assigned Tojorge-garcia 
PrioritynormalResolutionfixedFixed in VersionRR17Q3
StatusclosedFix in branchFixed in SCM revisionffd8b9490dbf
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0035927: Multiple duplicate requests to printer when adding a product to the ticket

DescriptionMultiple duplicate requests to printer when adding a product to the ticket
Steps To Reproduce-Start POS Hardware Manager
-Log in the WebPOS
-Tap on Browse
-Open chrome developer tools
-Add "Avalanche transceiver" to the ticket, notice that multiple duplicate requests to printer are done.
TagsNo tags attached.
Attached Filesdiff file icon printLines.diff [^] (1,565 bytes) 2017-05-18 13:11 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0036350RR17Q2.2 closedjorge-garcia Multiple duplicate requests to printer when adding a product to the ticket 
depends on backport 0036351RR17Q1.3 closedjorge-garcia Multiple duplicate requests to printer when adding a product to the ticket 

-  Notes
(0096377)
Sandrahuguet (developer)
2017-05-04 11:49

same issue happen when delete product from the ticket
(0096445)
hgbot (developer)
2017-05-08 08:44

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: ffd8b9490dbff3d738349079f9a6a99e0ffd94de
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Fri May 05 09:28:34 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ffd8b9490dbff3d738349079f9a6a99e0ffd94de [^]

Fixed issue 35927: Multiple duplicate requests to printer when adding a
product to the ticket

There are several call to hardware manager to print a product added to the
receipt.

The solution is to change the listener to execute the print of the line only
when the gross has change.

---
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-print.js
---
(0096661)
marvintm (manager)
2017-05-18 13:09

Currently there is a problem in the way the events are generated. Previously we were clearly generating too many events, but now the event is not always triggered when products are added. Attached there is a proposal to fix this problem.
(0096738)
hgbot (developer)
2017-05-24 08:44

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 4170ac29d86f92d6bf7ba8c746bf67dca1944d76
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Fri May 19 09:30:45 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4170ac29d86f92d6bf7ba8c746bf67dca1944d76 [^]

Related to issue 35927: Multiple duplicate requests to printer when adding a
product to the ticket

Change logic to work properly and use add event instead of selected event.

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

- Issue History
Date Modified Username Field Change
2017-05-04 11:25 Sandrahuguet New Issue
2017-05-04 11:25 Sandrahuguet Assigned To => Retail
2017-05-04 11:25 Sandrahuguet Resolution time => 1495663200
2017-05-04 11:25 Sandrahuguet Triggers an Emergency Pack => No
2017-05-04 11:49 Sandrahuguet Note Added: 0096377
2017-05-05 08:34 jorge-garcia Status new => scheduled
2017-05-05 08:34 jorge-garcia Assigned To Retail => jorge-garcia
2017-05-08 08:44 hgbot Checkin
2017-05-08 08:44 hgbot Note Added: 0096445
2017-05-08 08:44 hgbot Status scheduled => resolved
2017-05-08 08:44 hgbot Resolution open => fixed
2017-05-08 08:44 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ffd8b9490dbff3d738349079f9a6a99e0ffd94de [^]
2017-05-18 13:09 marvintm Note Added: 0096661
2017-05-18 13:09 marvintm Status resolved => new
2017-05-18 13:09 marvintm Resolution fixed => open
2017-05-18 13:11 marvintm File Added: printLines.diff
2017-05-19 09:31 jorge-garcia Status new => scheduled
2017-05-24 08:44 hgbot Checkin
2017-05-24 08:44 hgbot Note Added: 0096738
2017-05-24 08:46 jorge-garcia Status scheduled => resolved
2017-05-24 08:46 jorge-garcia Resolution open => fixed
2017-05-25 19:06 marvintm Review Assigned To => marvintm
2017-05-25 19:06 marvintm Status resolved => closed
2017-05-25 19:06 marvintm Fixed in Version => RR17Q3
2017-06-26 18:40 marvintm Status closed => new
2017-06-26 18:40 marvintm Resolution fixed => open
2017-06-26 18:40 marvintm Fixed in Version RR17Q3 =>
2017-06-26 18:40 marvintm Status new => scheduled
2017-06-26 18:40 marvintm Status scheduled => resolved
2017-06-26 18:40 marvintm Fixed in Version => RR17Q3
2017-06-26 18:40 marvintm Resolution open => fixed
2017-06-26 18:41 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker