Openbravo Issue Tracking System - Retail Modules | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0054851 | Retail Modules | Gift cards and gift vouchers | public | 2024-03-05 18:10 | 2024-03-05 18:10 |
| Reporter | kchoperena | ||||
| Assigned To | Retail | ||||
| Priority | high | Severity | major | Reproducibility | always |
| Status | new | Resolution | open | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| 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 | ||||
| Proposed Solution | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| 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 | ||
| There are no notes attached to this issue. |