Openbravo Issue Tracking System - Retail Modules
View Issue Details
0024819Retail ModulesWeb POSpublic2013-09-24 12:312013-11-19 18:17
jecharri 
umartirena 
urgentmajoralways
closedfixed 
5
RMP26.1 
RMP28RMP28 
marvintm
OBPS
23560
No
0024819: Impossible to change cash up report
Impossible to change cash up report
-currently it should be enough if you add one js with the following code
OB.OBPOSPointOfSale.Print.ReceiptClosedTemplate = '../org.openbravo.retail.extendcashup/receipts/printcashup.xml';

The problem is that we are not taking this value in js modules/org.openbravo.retail.posterminal/web/org.openbravo.retail.posterminal/js/closecash/model/cashup-print.js

We are using variable "OB.OBPOSCashUp.Print.CashUpTemplate"
delete line OB.OBPOSCashUp.Print.CashUpTemplate = 'res/printcashup.xml';
in file cashup-print.js

and edit line
      this.templatecashup = new OB.DS.HWResource(OB.OBPOSCashUp.Print.CashUpTemplate);
and change to
      this.templatecashup = new OB.DS.HWResource(OB.OBPOSPointOfSale.Print.ReceiptClosedTemplate);
No tags attached.
diff 24819.diff (2,037) 2013-09-27 13:57
https://issues.openbravo.com/file_download.php?file_id=6432&type=bug
Issue History
2013-09-24 12:31jecharriNew Issue
2013-09-24 12:31jecharriAssigned To => marvintm
2013-09-24 12:31jecharriOBNetwork customer => Yes
2013-09-24 12:31jecharriSupport ticket => 23560
2013-09-24 12:31jecharriResolution time => 1382738400
2013-09-24 12:31jecharriTriggers an Emergency Pack => No
2013-09-24 12:38jecharriProposed Solution updated
2013-09-25 12:31umartirenaAssigned Tomarvintm => umartirena
2013-09-27 13:57umartirenaFile Added: 24819.diff
2013-09-27 13:57umartirenaNote Added: 0061444
2013-10-09 12:16hgbotCheckin
2013-10-09 12:16hgbotNote Added: 0061630
2013-10-09 12:16hgbotStatusnew => resolved
2013-10-09 12:16hgbotResolutionopen => fixed
2013-10-09 12:16hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0249c29f1b4634ba7140250dc07c04e37841fbe7 [^]
2013-10-14 13:20marvintmReview Assigned To => marvintm
2013-10-14 13:20marvintmStatusresolved => closed
2013-10-14 13:20marvintmFixed in Version => RMP28
2013-10-16 13:40hgbotCheckin
2013-10-16 13:40hgbotNote Added: 0061708
2013-10-16 13:40hgbotStatusclosed => resolved
2013-10-16 13:40hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0249c29f1b4634ba7140250dc07c04e37841fbe7 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.cirque/rev/0249c29f1b4634ba7140250dc07c04e37841fbe7 [^]
2013-10-17 18:34guilleaerNote Added: 0061791
2013-10-17 18:34guilleaerStatusresolved => closed
2013-11-18 12:50hgbotCheckin
2013-11-18 12:50hgbotNote Added: 0062165
2013-11-18 12:50hgbotStatusclosed => resolved
2013-11-18 12:50hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.cirque/rev/0249c29f1b4634ba7140250dc07c04e37841fbe7 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-splitlines/rev/0249c29f1b4634ba7140250dc07c04e37841fbe7 [^]
2013-11-19 18:17marvintmStatusresolved => closed

Notes
(0061444)
umartirena   
2013-09-27 13:57   
Find the fix attached
(0061630)
hgbot   
2013-10-09 12:16   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 0249c29f1b4634ba7140250dc07c04e37841fbe7
Author: Miguel A. Alsasua <miguel.alsasua <at> openbravo.com>
Date: Wed Oct 09 12:16:20 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0249c29f1b4634ba7140250dc07c04e37841fbe7 [^]

Fixed issue 24819: Impossible to change cash up report

---
M web/org.openbravo.retail.posterminal/js/closecash/model/cashup-print.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-print.js
---
(0061708)
hgbot   
2013-10-16 13:40   
Repository: erp/pmods/org.openbravo.retail.posterminal.cirque
Changeset: 0249c29f1b4634ba7140250dc07c04e37841fbe7
Author: Miguel A. Alsasua <miguel.alsasua <at> openbravo.com>
Date: Wed Oct 09 12:16:20 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.cirque/rev/0249c29f1b4634ba7140250dc07c04e37841fbe7 [^]

Fixed issue 24819: Impossible to change cash up report

---
M web/org.openbravo.retail.posterminal/js/closecash/model/cashup-print.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-print.js
---
(0061791)
guilleaer   
2013-10-17 18:34   
reclosed
(0062165)
hgbot   
2013-11-18 12:50   
Repository: erp/pmods/org.openbravo.retail.posterminal-splitlines
Changeset: 0249c29f1b4634ba7140250dc07c04e37841fbe7
Author: Miguel A. Alsasua <miguel.alsasua <at> openbravo.com>
Date: Wed Oct 09 12:16:20 2013 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-splitlines/rev/0249c29f1b4634ba7140250dc07c04e37841fbe7 [^]

Fixed issue 24819: Impossible to change cash up report

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