[ https://issues.apache.org/jira/browse/OFBIZ-10215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17525602#comment-17525602 ]
Ingo Wolfmayr commented on OFBIZ-10215: --------------------------------------- Hi, I have attached my code proposal for finding the invoice template using the PartyPrefDocyypeTpl screen logic that can be found here: /accounting/control/ListPartyPrefDocTypeTpl?partyId=company If no entry can be found, it uses the default screen - so for anyone not using this feature, nothing changes - it is just overriding the default. *For testing:* InvoiceTemplateWithTest.patch includes a test InvoicePDF template with missing headers just to see the difference. Test-entities for import: CustomScreen.xml PartyPrefDocTypeTpl.xml Best regards, Ingo > Configure invoice templates for an organizational party > ------------------------------------------------------- > > Key: OFBIZ-10215 > URL: https://issues.apache.org/jira/browse/OFBIZ-10215 > Project: OFBiz > Issue Type: Sub-task > Components: accounting > Affects Versions: Trunk, Upcoming Branch > Reporter: Nicolas Malin > Assignee: Nicolas Malin > Priority: Minor > Attachments: CustomScreen.xml, InvoiceTemplate.patch, > InvoiceTemplateWithTest.patch, PartyPrefDocTypeTpl.xml > > > Possibility to select your invoice template from a custom screen. > Implement three screen possibilities : > * default : current InvoicePDF > * content : import the template from a content > * tax line : detail the tax related to an invoice line -- This message was sent by Atlassian Jira (v8.20.7#820007)