Project:
View Revisions: Issue #37344 | [ All Revisions ] [ Back to Issue ] | ||
Summary | 0037344: Credit notes are always printed, even if they are not configured in the organization | ||
Revision | 2017-11-21 13:24 by asiermartirena | ||
Description | There is not a OBPOS_PRINT_TEMPLATE record defined for the credit notes, so the creditnote.xml template is not selectable by default in the organization configuration. To be able to print, in the GiftCardDetails.js and printGiftCardPrePrintHook.js files, the template is read directly from the route (using "../org.openbravo.retail.giftcards/res/creditnote.xml"). This is not correct. The template to print must always be taken from the organization, so a record must be defined in the OBPOS_PRINT_TEMPLATE file to add it by default. |
||
Revision | 2017-11-21 13:15 by asiermartirena | ||
Description | There is not a OBPOS_PRINT_TEMPLATE record defined for the credit notes, so the creditnote.xml template is not selectable by default in the organization configuration. To be able to print, in the GiftCardDetails.js file, the template is read directly from the route (using "../org.openbravo.retail.giftcards/res/creditnote.xml"). This is not correct. The template to print must always be taken from the organization, so a record must be defined in the OBPOS_PRINT_TEMPLATE file to add it by default. |
Copyright © 2000 - 2009 MantisBT Group |