Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0054851
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Gift cards and gift vouchersmajoralways2024-03-05 18:102024-03-05 18:10
ReporterkchoperenaView Statuspublic 
Assigned ToRetail 
PriorityhighResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0054851: To use a custom template for giftcards, it is mandatory to register a PrintTemplateStore in a ob-init.js

DescriptionThere is no way without coding to use a custom template for Gift Cards

The usage of a custom template requires the registration of a PrintTemplateStore, if not, the code is not able to find the resource in the available templates

Example of a required code:
  OB.App.PrintTemplateStore.register(
    'printGiftCardGifiTemplate',
    '../com.openbravo.gifi.report/res/giftcard.xml',
    { isLegacy: false }
  );
Steps To Reproduce1.- Create a custom template and defined it in "Print Templates"
2.- Configure it at Product level for a gift card product
In the POS2:
1.- Include the gift card product on the receipt
2.- Pay it and complete the receipt
3.- Try to print the result

EXPECTED RESULT:
An error appears because the code is not able to find the template
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2024-03-05 18:10 kchoperena New Issue
2024-03-05 18:10 kchoperena Assigned To => Retail
2024-03-05 18:10 kchoperena Triggers an Emergency Pack => No


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker