Openbravo Issue Tracking System - Retail Modules
View Issue Details
0046214Retail ModulesWeb POSpublic2021-04-03 18:082022-02-08 12:04
caristu 
migueldejuana 
highminorhave not tried
closedfixed 
5
 
RR22Q2 
No
0046214: Create PrintDocumentTemplate function to print generic documents
The PrintDocumentTemplate function receives the template, printing data, device and hardwareUrl.

This function will print a ticket with the template and the data provided in the printer with the url defined in hardwareURL.
In description
No tags attached.
related to feature request 0046109 closed adrianromero adds printDocument function to send custom documents to print to the Hardware Manager 
Issue History
2021-04-03 18:08caristuNew Issue
2021-04-03 18:08caristuAssigned To => Retail
2021-04-03 18:08caristuTriggers an Emergency Pack => No
2021-04-03 18:09caristuRelationship addedrelated to 0046109
2021-04-03 18:41hgbotNote Added: 0127081
2022-02-07 09:00migueldejuanaSummaryPrintDocument action preparation for generating templates => Create PrintDocumentTemplate function to print generic documents
2022-02-07 09:00migueldejuanaDescription Updatedbug_revision_view_page.php?rev_id=23630#r23630
2022-02-07 09:30caristuTypedefect => feature request
2022-02-07 11:40caristuAssigned ToRetail => migueldejuana
2022-02-08 09:25hgbotResolutionopen => fixed
2022-02-08 09:25hgbotStatusnew => closed
2022-02-08 09:25hgbotNote Added: 0134824
2022-02-08 09:25hgbotFixed in Version => RR22Q2
2022-02-08 09:25hgbotNote Added: 0134825
2022-02-08 12:04hgbotNote Added: 0134832

Notes
(0127081)
hgbot   
2021-04-03 18:41   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/365 [^]
(0134824)
hgbot   
2022-02-08 09:25   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/365 [^]
(0134825)
hgbot   
2022-02-08 09:25   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 11a1b0ac0ea0713b31ec8a928c1f0ff64d6a4d7e
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 08-02-2022 09:19:46
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/11a1b0ac0ea0713b31ec8a928c1f0ff64d6a4d7e [^]

fixes ISSUE-46214: PrintDocument action preparation for generating templates

- Add hardwareURL parameter to print function in order to send it to requestPrint
- In requestPrint use the hardwareURL if it is defined
- Define printDocumentTemplate and register it's usage in SynchronizationBuffer
- Add a test fot the new printDocumentTemplate function

---
A web-test/model/business-object/ticket/actions/PrintDocument.test.js
M web-test/external-device/ExternalDeviceController.test.js
M web-test/external-device/printing/TicketPrinter.test.js
M web/org.openbravo.retail.posterminal/app/external-device/ExternalDeviceController.js
M web/org.openbravo.retail.posterminal/app/external-device/printing/TicketPrinter.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---
(0134832)
hgbot   
2022-02-08 12:04   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: d74aa7129f61ff2833d753cd09b72b0e25c6d23b
Author: miguel.dejuana <miguel.dejuana@openbravo.com>
Date: 08-02-2022 12:03:59
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/d74aa7129f61ff2833d753cd09b72b0e25c6d23b [^]

related ISSUE-46214: PrintDocument action preparation for generating templates

- Fix wrong copyright year

---
M web-test/model/business-object/ticket/actions/PrintDocument.test.js
---