Openbravo Issue Tracking System - Retail Modules
View Issue Details
0049981Retail ModulesGift cards and gift voucherspublic2022-08-10 15:262023-10-05 10:22
jonae 
jonae 
normalminorhave not tried
closedfixed 
5
 
 
approved
No
No
0049981: Add the possibility to define a template for the sending by email option in gift cards and credit notes
Add the possibility to define a template for the sending by email option in gift cards and credit notes
Nowadays, there are two fields defined in product and organization window to define the template to print and email gift cards and credit notes. The requirement is to add a new field to define a template to send by email.
No tags attached.
related to feature request 0049982 closed jonae Add the possibility to use the same sequence number in credit notes and gift cards. Add a digit control algorithm 
Issue History
2022-08-10 15:26jonaeNew Issue
2022-08-10 15:26jonaeAssigned To => jonae
2022-08-10 15:26jonaeOBNetwork customer => No
2022-08-10 15:26jonaeTriggers an Emergency Pack => No
2022-08-10 15:46hgbotMerge Request Status => open
2022-08-10 15:46hgbotNote Added: 0140048
2022-08-26 06:58hgbotMerge Request Statusopen => approved
2022-08-26 08:26hgbotResolutionopen => fixed
2022-08-26 08:26hgbotStatusnew => closed
2022-08-26 08:26hgbotNote Added: 0140414
2022-08-26 08:26hgbotNote Added: 0140415
2022-09-05 11:21XABIER_AGUADONote Added: 0140702
2022-09-05 11:22XABIER_AGUADONote Edited: 0140702bug_revision_view_page.php?bugnote_id=0140702#r24728
2022-09-05 11:55XABIER_AGUADONote Edited: 0140702bug_revision_view_page.php?bugnote_id=0140702#r24729
2023-10-05 10:22aferrazRelationship addedrelated to 0049982

Notes
(0140048)
hgbot   
2022-08-10 15:46   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/137 [^]
(0140414)
hgbot   
2022-08-26 08:26   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: fe3d1443df9d09e1687d87d9ce44777c04ce0b2a
Author: jonalegria <jon.alegria@openbravo.com>
Date: 26-08-2022 08:25:37
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/fe3d1443df9d09e1687d87d9ce44777c04ce0b2a [^]

Fixes ISSUE-49981: Adding the possibility to add a template to send credit notes by email

---
A web/org.openbravo.retail.giftcards/res/creditnoteemail.xml
A web/org.openbravo.retail.giftcards/res/giftcardemail.xml
M src-db/database/model/modifiedTables/AD_ORG.xml
M src-db/database/model/modifiedTables/M_PRODUCT.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/OBPOS_PRINT_TEMPLATE.xml
M src/org/openbravo/retail/giftcards/PGCProductProperties.java
M src/org/openbravo/retail/giftcards/term/TemplateTerminalProperties.java
M web-jspack/org.openbravo.retail.giftcards/src/components/PaymentIntegration/__test__/mock/Ticket.json
M web-jspack/org.openbravo.retail.giftcards/src/components/PaymentIntegration/__test__/mock/TicketNoPayments.json
M web-jspack/org.openbravo.retail.giftcards/src/model/giftcard/actions/SendPrintGiftCardMessage.js
M web-jspack/org.openbravo.retail.giftcards/src/model/giftcard/actions/SendPrintGiftCardMessageActionPreparation.js
M web-jspack/org.openbravo.retail.giftcards/src/model/messages/MessagesUtils.js
M web-jspack/org.openbravo.retail.giftcards/src/model/messages/__test__/MessagesUtils.test.js
M web-jspack/org.openbravo.retail.giftcards/src/model/ticket/actions/CompleteTicketPostHooks.js
M web-jspack/org.openbravo.retail.giftcards/src/ob-init.js
M web/org.openbravo.retail.giftcards/js/model/product-properties.js
---
(0140415)
hgbot   
2022-08-26 08:26   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/137 [^]
(0140702)
XABIER_AGUADO   
2022-09-05 11:21   
(edited on: 2022-09-05 11:55)
Hi,
For credit notes, when changing the standard template for the client one, we get an error message stating that 'Error generating the required template to deliver the document' altough the printed version works OK.

Mantis: https://issues.openbravo.com/view.php?id=50155 [^]