Openbravo Issue Tracking System - Retail Modules
View Issue Details
0050105Retail ModulesGift cards and gift voucherspublic2022-08-30 09:052022-08-30 12:54
njimenez 
Retail 
normalminorhave not tried
newopen 
5
 
 
No
0050105: Register automatically the print templates assigned to giftcard products
Register automatically the print templates assigned to giftcard products. At this moment this has to been done manually, by adding OB.App.PrintTemplateStore.overwrite for each template on the ob-init file of the module in charge of adding the custom templates.
1. Go to products window
2. Search a product configured as gift card
3. Configure a custom template
4. Go to POS2 and buy a giftcard
5. Print the receipt
6. An error is shown telling the user that the provided url is not registered
On the following example can be seen how the new templates are registered by the module how is adding the funciontality.

https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/blob/master/web-jspack/org.openbravo.pos2/src/core/pickupPoint/notificationPoint/NotificationPointRegistration.js#L29 [^]
No tags attached.
Issue History
2022-08-30 09:05njimenezNew Issue
2022-08-30 09:05njimenezAssigned To => Retail
2022-08-30 09:05njimenezTriggers an Emergency Pack => No
2022-08-30 12:54caristuDescription Updatedbug_revision_view_page.php?rev_id=24692#r24692

There are no notes attached to this issue.