Openbravo Issue Tracking System - Retail Modules
View Issue Details
0045837Retail ModulesWeb POSpublic2021-02-02 19:572021-02-03 12:25
caristu 
caristu 
urgentminorhave not tried
closedfixed 
5
 
RR21Q2 
No
0045837: Avoid error when printing empty ticket
Avoid error when printing empty ticket
1) Login in webpos
2) Having an empty ticket (without lines), execute: OB.App.State.Global.printTicket()
3) The following error is thrown: "Cannot read property 'scale' of undefined"
No tags attached.
related to feature request 0045634 closed Retail Reimplement printing infrastructure 
Issue History
2021-02-02 19:57caristuNew Issue
2021-02-02 19:57caristuAssigned To => caristu
2021-02-02 19:57caristuTriggers an Emergency Pack => No
2021-02-02 19:57caristuIssue generated from0045827
2021-02-02 19:57caristuRelationship addedrelated to 0045827
2021-02-02 19:59hgbotNote Added: 0125947
2021-02-03 07:26hgbotResolutionopen => fixed
2021-02-03 07:26hgbotStatusnew => closed
2021-02-03 07:26hgbotNote Added: 0125948
2021-02-03 07:26hgbotFixed in Version => RR21Q2
2021-02-03 07:26hgbotNote Added: 0125949
2021-02-03 12:25caristuRelationship deletedrelated to 0045827
2021-02-03 12:25caristuRelationship addedrelated to 0045634

Notes
(0125947)
hgbot   
2021-02-02 19:59   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/285 [^]
(0125948)
hgbot   
2021-02-03 07:26   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/285 [^]
(0125949)
hgbot   
2021-02-03 07:26   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 45a67c68b6743cd571153b8533e4577978f44106
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 2021-02-02T20:05:16+01:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/45a67c68b6743cd571153b8533e4577978f44106 [^]

fixes ISSUE-45837: printing empty ticket should not fail

---
M web-test/model/business-object/ticket/TicketUtils.test.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/TicketUtils.js
---