Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
| ID | ||||||||||||
| 0054851 | ||||||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| feature request | [Retail Modules] Gift cards and gift vouchers | major | always | 2024-03-05 18:10 | 2024-03-05 18:10 | |||||||
| Reporter | kchoperena | View Status | public | |||||||||
| Assigned To | Retail | |||||||||||
| Priority | high | Resolution | open | Fixed in Version | ||||||||
| Status | new | Fix in branch | Fixed in SCM revision | |||||||||
| Projection | none | ETA | none | Target Version | ||||||||
| OS | Any | Database | Any | Java version | ||||||||
| OS Version | Database version | Ant version | ||||||||||
| Product Version | SCM revision | |||||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | ||||||||||||
| OBNetwork customer | OBPS | |||||||||||
| Support ticket | ||||||||||||
| Regression level | ||||||||||||
| Regression date | ||||||||||||
| Regression introduced in release | ||||||||||||
| Regression introduced by commit | ||||||||||||
| Triggers an Emergency Pack | No | |||||||||||
| Summary | 0054851: To use a custom template for giftcards, it is mandatory to register a PrintTemplateStore in a ob-init.js | |||||||||||
| Description | There 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 Reproduce | 1.- 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 | |||||||||||
| Tags | No tags attached. | |||||||||||
| Attached Files | ||||||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|
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 | OBNetwork customer | => OBPS |
| 2024-03-05 18:10 | kchoperena | Triggers an Emergency Pack | => No |
| Copyright © 2000 - 2009 MantisBT Group |