Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047608Retail ModulesWeb POSpublic2021-08-30 15:212021-09-13 10:59
AugustoMauch 
jorge-garcia 
normalmajorhave not tried
closedfixed 
5
 
RR21Q4 
AugustoMauch
No
0047608: Support backwards compatibility for cashup templates
This MR https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/532 [^] introduced a change that updates the cashup template so that it no longer expects a Backbone object as parameter.

This change does not take into account if the template is configured as "Legacy". Those templates will still expect a Backbone object, so in that case it should not be converted to a plain javascript object before passing it to the print engine
-
No tags attached.
Issue History
2021-08-30 15:21AugustoMauchNew Issue
2021-08-30 15:21AugustoMauchAssigned To => AugustoMauch
2021-08-30 15:21AugustoMauchTriggers an Emergency Pack => No
2021-09-03 12:15hgbotNote Added: 0131559
2021-09-07 15:05jorge-garciaStatusnew => scheduled
2021-09-10 13:23jorge-garciaAssigned ToAugustoMauch => jorge-garcia
2021-09-10 13:23jorge-garciaReview Assigned To => AugustoMauch
2021-09-13 10:59hgbotResolutionopen => fixed
2021-09-13 10:59hgbotStatusscheduled => closed
2021-09-13 10:59hgbotNote Added: 0131736
2021-09-13 10:59hgbotFixed in Version => RR21Q4
2021-09-13 10:59hgbotNote Added: 0131737

Notes
(0131559)
hgbot   
2021-09-03 12:15   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/563 [^]
(0131736)
hgbot   
2021-09-13 10:59   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/563 [^]
(0131737)
hgbot   
2021-09-13 10:59   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: c4ad01c1b37e7422538527b9f4cfaa4dbd112347
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 2021-09-13T08:59:11+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/c4ad01c1b37e7422538527b9f4cfaa4dbd112347 [^]

Fixes ISSUE-47608: Legacy cashup templates are not supported

---
M web/org.openbravo.retail.posterminal/app/external-device/printing/CashupPrinter.js
M web/org.openbravo.retail.posterminal/app/external-device/printing/PrintTemplateStore.js
M web/org.openbravo.retail.posterminal/js/closecash/model/cashup/cashup-model.js
M web/org.openbravo.retail.posterminal/js/closecash/model/closecash-print.js
---