Openbravo Issue Tracking System - Retail Modules
View Issue Details
0029630Retail ModulesCash uppublic2015-04-17 15:052015-05-22 09:27
rbianchini 
malsasua 
immediatemajoralways
closedfixed 
5
RR15Q1.3 
RR15Q3 
aaroncalero
No
0029630: Changing the cash up template using window organization dosen't work becouse it's taking from the global variable
Changing the cash up template using window organization dosen't work becouse it's taking from the global variable OB.OBPOSPointOfSale.Print.CashUpTemplate

if you check file: web/org.openbravo.retail.posterminal/js/closecash/model/cashup-print.js
line: 15: this.templatecashup = new OB.DS.HWResource(OB.OBPOSPointOfSale.Print.CashUpTemplate);

Go to window Organization and change the cash up template (It should be created previously)

Go to web Pos and verify that it is printing the defoult template instead of the configured one
Change line this.templatecashup = new OB.DS.HWResource(OB.OBPOSPointOfSale.Print.CashUpTemplate);

to

this.templatecashup = new OB.DS.HWResource(OB.POS.modelterminal.get('terminal')['printCashUpTemplate']);
No tags attached.
Issue History
2015-04-17 15:05rbianchiniNew Issue
2015-04-17 15:05rbianchiniAssigned To => Retail
2015-04-17 15:05rbianchiniResolution time => 1429567200
2015-04-17 15:05rbianchiniTriggers an Emergency Pack => No
2015-05-07 11:47hgbotCheckin
2015-05-07 11:47hgbotNote Added: 0077086
2015-05-07 11:47hgbotStatusnew => resolved
2015-05-07 11:47hgbotResolutionopen => fixed
2015-05-07 11:47hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c06f1253682184ef9e0dec34ce2c92536fb84141 [^]
2015-05-07 11:48malsasuaAssigned ToRetail => malsasua
2015-05-21 12:28aaroncaleroReview Assigned To => aaroncalero
2015-05-22 09:27aaroncaleroNote Added: 0077650
2015-05-22 09:27aaroncaleroStatusresolved => closed
2015-05-22 09:27aaroncaleroFixed in Version => RR15Q3

Notes
(0077086)
hgbot   
2015-05-07 11:47   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: c06f1253682184ef9e0dec34ce2c92536fb84141
Author: Miguel A. Alsasua <miguel.alsasua <at> openbravo.com>
Date: Thu May 07 11:47:22 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c06f1253682184ef9e0dec34ce2c92536fb84141 [^]

fixed issue 29630: if terminal has a cashup template, then it is printed, otherwise default cashup template is printed

---
M web/org.openbravo.retail.posterminal/js/closecash/model/cashup-print.js
---
(0077650)
aaroncalero   
2015-05-22 09:27   
Tested and reviewed