Openbravo Issue Tracking System - Retail Modules
View Issue Details
0026072Retail ModulesWeb POSpublic2014-03-24 13:072014-08-20 11:31
jecharri 
adrianromero 
urgentmajoralways
closedfixed 
5
RMP31.2 
RR14Q3RR14Q3 
migueldejuana
No
0026072: Fiscal printers can fail and we are not managing some errors
Fiscal printers can fail and we are not managing some errors
-Configure a fiscal printer
-Verify that you can print
-Switch off the printer

Verify that Web POS continue thinking that it is printing properly the tickets and it is not showing any error.
No tags attached.
diff 3.0RR14Q2.3_FixesIssue_26072.diff (24,176) 2014-08-20 11:30
https://issues.openbravo.com/file_download.php?file_id=7147&type=bug
Issue History
2014-03-24 13:07jecharriNew Issue
2014-03-24 13:07jecharriAssigned To => marvintm
2014-03-24 13:07jecharriResolution time => 1398376800
2014-03-24 13:07jecharriTriggers an Emergency Pack => No
2014-03-31 16:24jonalegriaesarteTarget VersionRR14Q2 => RR14Q3
2014-04-02 13:24adrianromeroReview Assigned To => marvintm
2014-04-02 13:24adrianromeroAssigned Tomarvintm => adrianromero
2014-04-03 18:35hgbotCheckin
2014-04-03 18:35hgbotNote Added: 0066171
2014-04-03 18:35hgbotCheckin
2014-04-03 18:35hgbotNote Added: 0066172
2014-04-03 18:35hgbotStatusnew => resolved
2014-04-03 18:35hgbotResolutionopen => fixed
2014-04-03 18:35hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/730630981c72c8eabc74686bdbc608d93c3d610c [^]
2014-04-03 18:39adrianromeroNote Added: 0066173
2014-04-15 15:44migueldejuanaReview Assigned Tomarvintm => migueldejuana
2014-04-15 15:44migueldejuanaNote Added: 0066451
2014-04-15 15:44migueldejuanaStatusresolved => closed
2014-04-15 15:44migueldejuanaFixed in Version => RR14Q3
2014-08-20 11:30adrianromeroFile Added: 3.0RR14Q2.3_FixesIssue_26072.diff
2014-08-20 11:31adrianromeroNote Added: 0069545

Notes
(0066171)
hgbot   
2014-04-03 18:35   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 89beb333a50bb36241ff84b58b8cb7a0283094d8
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Apr 03 17:33:23 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/89beb333a50bb36241ff84b58b8cb7a0283094d8 [^]

Issue 0026072: Fiscal printers can fail and we are not managing some errors
Adding offline capabilities for printers

---
M src/org/openbravo/retail/posterminal/OBPOSComponentProvider.java
M web/org.openbravo.retail.posterminal/js/datasource.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-print.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/pointofsale.js
A web/org.openbravo.retail.posterminal/js/model/offlineprinter.js
---
(0066172)
hgbot   
2014-04-03 18:35   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 730630981c72c8eabc74686bdbc608d93c3d610c
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Apr 03 18:34:07 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/730630981c72c8eabc74686bdbc608d93c3d610c [^]

Fixes issue 0026072: Fiscal printers can fail and we are not managing some errors
Adding flag to activate printing offline behaviour and adding points to print pending receipts

---
M src-db/database/model/tables/OBPOS_APPLICATIONS.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_TABLE.xml
M src/org/openbravo/retail/posterminal/term/TerminalProperties.java
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-print.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/pointofsale.js
---
(0066173)
adrianromero   
2014-04-03 18:39   
It has been added a new flag at POS Terminal level called "Print Offline"

If this flag is activated, then when printing a receipt and if the printer is offline, because its switched off, without paper, broken, ... and the user decides to cancel after the warning informing the situation appears, then the receipt data is stored locally.

After the printer becomes available the application tries to print the receipts stored locally. The application tries to print these receipts after a successful printing, or after login in.
(0066451)
migueldejuana   
2014-04-15 15:44   
Tested and reviewed ad1d32246b78
(0069545)
adrianromero   
2014-08-20 11:31   
Included patch for 3.0RR14@2.3
3.0RR14Q2.3_FixesIssue_26072.diff