Openbravo Issue Tracking System - Retail Modules
View Issue Details
0051357Retail ModulesWeb POSpublic2023-01-12 13:532023-03-01 17:50
jarmendariz 
igor_trebol 
normalmajoralways
closedfixed 
5
 
RR23Q2 
No
0051357: Use Company Logo for receipts field in receipt templates
In 0052138 we refactored the company logo fields in SystemInfo, ClientInfo and OrgInfo Windows that gives us more control of the logos we're using in the ERP and other applications. We introduced a new field "Company Logo for receipts" that is currently empty and not used in our built-in receipt templates.

Currently the built-in template uses a "ticket-image.png" that is provided by the HWManager and registered in OB.PRINTERIMAGES in standardprinters.js

See description
Implement a mechanism that passes to the printing template the appropriate logo for receipts for the current Organization. If no image is available, use a default "ticket-image.png" to preserve the current behavior.

Also it would be a good opportunity to add default logos for System and Clients (F&B, White Valley...) sampledata.
No tags attached.
related to feature request 0051238 closed jarmendariz Openbravo ERP Company Logo Configuration Refactor 
Issue History
2023-01-12 13:53jarmendarizNew Issue
2023-01-12 13:53jarmendarizAssigned To => Triage Platform Base
2023-01-12 13:53jarmendarizTriggers an Emergency Pack => No
2023-01-12 13:55jarmendarizRelationship addedrelated to 0051238
2023-02-23 11:28jarmendarizAssigned ToTriage Platform Base => igor_trebol
2023-02-24 11:41hgbotNote Added: 0146974
2023-02-24 11:42igor_trebolStatusnew => scheduled
2023-02-24 15:39hgbotNote Added: 0146991
2023-02-24 15:42hgbotNote Added: 0146992
2023-02-24 15:43hgbotNote Added: 0146993
2023-02-27 14:00hgbotNote Added: 0147039
2023-02-27 14:16hgbotNote Added: 0147050
2023-02-27 14:19hgbotNote Added: 0147051
2023-02-27 14:22hgbotNote Added: 0147052
2023-02-27 14:23hgbotNote Added: 0147053
2023-02-27 14:29hgbotNote Added: 0147054
2023-03-01 17:47hgbotResolutionopen => fixed
2023-03-01 17:47hgbotStatusscheduled => closed
2023-03-01 17:47hgbotFixed in Version => RR23Q2
2023-03-01 17:47hgbotNote Added: 0147190
2023-03-01 17:47hgbotNote Added: 0147191
2023-03-01 17:47hgbotNote Added: 0147192
2023-03-01 17:47hgbotNote Added: 0147193
2023-03-01 17:47hgbotNote Added: 0147194
2023-03-01 17:47hgbotNote Added: 0147195
2023-03-01 17:48hgbotNote Added: 0147196
2023-03-01 17:48hgbotNote Added: 0147197
2023-03-01 17:49hgbotNote Added: 0147198
2023-03-01 17:49hgbotNote Added: 0147199
2023-03-01 17:50hgbotNote Added: 0147200
2023-03-01 17:50hgbotNote Added: 0147201

Notes
(0146974)
hgbot   
2023-02-24 11:41   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1077 [^]
(0146991)
hgbot   
2023-02-24 15:39   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/70 [^]
(0146992)
hgbot   
2023-02-24 15:42   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/194 [^]
(0146993)
hgbot   
2023-02-24 15:43   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1550 [^]
(0147039)
hgbot   
2023-02-27 14:00   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata/-/merge_requests/45 [^]
(0147050)
hgbot   
2023-02-27 14:16   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata/-/merge_requests/45 [^]
(0147051)
hgbot   
2023-02-27 14:19   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata/-/merge_requests/46 [^]
(0147052)
hgbot   
2023-02-27 14:22   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata/-/merge_requests/46 [^]
(0147053)
hgbot   
2023-02-27 14:23   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata/-/merge_requests/47 [^]
(0147054)
hgbot   
2023-02-27 14:29   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/831 [^]
(0147190)
hgbot   
2023-03-01 17:47   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 4830071b7f496a2c6a0660602234a3b565827b12
Author: Javier Armendáriz <javier.armendariz@openbravo.com>
Date: 01-03-2023 17:41:47
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/4830071b7f496a2c6a0660602234a3b565827b12 [^]

Fixed ISSUE-51357: Adding support to company logo fields in receipts

---
M web-test/external-device/printing/PrintTemplateGeneration.test.js
M web/org.openbravo.retail.posterminal/app/model/business-logic/utils/Util.js
M web/org.openbravo.retail.posterminal/res/printcanceledlayaway.xml
M web/org.openbravo.retail.posterminal/res/printcanceledreceipt.xml
M web/org.openbravo.retail.posterminal/res/printcashmgmt.xml
M web/org.openbravo.retail.posterminal/res/printcashup.xml
M web/org.openbravo.retail.posterminal/res/printcashupkeptcash.xml
M web/org.openbravo.retail.posterminal/res/printclosedinvoice.xml
M web/org.openbravo.retail.posterminal/res/printclosedreceipt.xml
M web/org.openbravo.retail.posterminal/res/printinvoice.xml
M web/org.openbravo.retail.posterminal/res/printlayaway.xml
M web/org.openbravo.retail.posterminal/res/printquotation.xml
M web/org.openbravo.retail.posterminal/res/printreceipt.xml
M web/org.openbravo.retail.posterminal/res/printreceipt32.xml
M web/org.openbravo.retail.posterminal/res/printreturn.xml
M web/org.openbravo.retail.posterminal/res/printreturninvoice.xml
M web/org.openbravo.retail.posterminal/res/printsimplifiedclosedinvoice.xml
M web/org.openbravo.retail.posterminal/res/printsimplifiedinvoice.xml
M web/org.openbravo.retail.posterminal/res/printsimplifiedreturninvoice.xml
---
(0147191)
hgbot   
2023-03-01 17:47   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1077 [^]
(0147192)
hgbot   
2023-03-01 17:47   
Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 39a38224cf67d49c1d330f03d314d0c742d46cdc
Author: Igor Trebol <igor.trebol@openbravo.com>
Date: 01-03-2023 17:43:57
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/39a38224cf67d49c1d330f03d314d0c742d46cdc [^]

Related to ISSUE-51357: Added Company Logo For Receipts in F&B

---
M referencedata/sampledata/F_B_International_Group/AD_IMAGE.xml
M referencedata/sampledata/F_B_International_Group/AD_ORGINFO.xml
---
(0147193)
hgbot   
2023-03-01 17:47   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/831 [^]
(0147194)
hgbot   
2023-03-01 17:47   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata/-/merge_requests/47 [^]
(0147195)
hgbot   
2023-03-01 17:47   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata [^]
Changeset: 42059d4090a1a518d1891c351f01fdbda1cbbbcc
Author: Igor Trebol <igor.trebol@openbravo.com>
Date: 01-03-2023 17:44:51
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata/-/commit/42059d4090a1a518d1891c351f01fdbda1cbbbcc [^]

Related to ISSUE-51357: Added Company Logo For Receipts in Vall Blanca

---
M referencedata/sampledata/The_White_Valley_Group/AD_IMAGE.xml
M referencedata/sampledata/The_White_Valley_Group/AD_ORGINFO.xml
---
(0147196)
hgbot   
2023-03-01 17:48   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: bc5746021b591bdfe3fe808eaa1a46cb3afedcf8
Author: Igor Trebol <igor.trebol@openbravo.com>
Date: 01-03-2023 16:48:10
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/bc5746021b591bdfe3fe808eaa1a46cb3afedcf8 [^]

Related to ISSUE-51357: Added company logo image to templates

---
M web/org.openbravo.pos2/res/printreceiptwithoutprices.xml
M web/org.openbravo.pos2/res/printtmreceipt.xml
M web/org.openbravo.pos2/res/proofofpaymenttemplate.xml
---
(0147197)
hgbot   
2023-03-01 17:48   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1550 [^]
(0147198)
hgbot   
2023-03-01 17:49   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: 971d72ab23eed81ab7b3863d8fc8313db682a346
Author: Igor Trebol <igor.trebol@openbravo.com>
Date: 01-03-2023 16:49:49
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/971d72ab23eed81ab7b3863d8fc8313db682a346 [^]

Related to ISSUE-51357: Added Company Logo For Receipts functionality

---
M web/org.openbravo.retail.giftcards/res/creditnote.xml
M web/org.openbravo.retail.giftcards/res/creditnoteemail.xml
M web/org.openbravo.retail.giftcards/res/giftcard.xml
M web/org.openbravo.retail.giftcards/res/giftcardemail.xml
---
(0147199)
hgbot   
2023-03-01 17:49   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/194 [^]
(0147200)
hgbot   
2023-03-01 17:50   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/70 [^]
(0147201)
hgbot   
2023-03-01 17:50   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions [^]
Changeset: fcbaa99cd05efa2bcbf91dab4efc54aa15a08949
Author: Igor Trebol <igor.trebol@openbravo.com>
Date: 01-03-2023 16:50:36
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/fcbaa99cd05efa2bcbf91dab4efc54aa15a08949 [^]

Related to ISSUE-51357: Added Company Logo For Receipts functionality

---
M web/org.openbravo.retail.sessions/res/opentill.xml
M web/org.openbravo.retail.sessions/res/salesreport.xml
---