[ 
https://issues.apache.org/jira/browse/OFBIZ-10215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17538736#comment-17538736
 ] 

Ingo Wolfmayr edited comment on OFBIZ-10215 at 5/18/22 11:32 AM:
-----------------------------------------------------------------

Hello [~nmalin]

I created a patch including invoice/order/quote with the current logic. 
InvQuoOrd.patch

I think it would be a good idea to but the 
"orderTypeId/quoteTypeId/invoiceTypeId" into a generic column (for example: 
sourceTypeId). We could then add entries for request, shipmentmanifest, 
packlist ...

I also created the logic in a single DocTypeTemplate.groovy file instead of one 
file for each template (order, quote, invoice ...) - see patch 
DocTypeTemplate.patch

What do you think.


was (Author: iwolf):
Hello [~nmalin]

I created a patch including invoice/order/quote with the current logic.

I think it would be a good idea to but the 
"orderTypeId/quoteTypeId/invoiceTypeId" into a generic column (for example: 
sourceTypeId). We could then add entries for request, shipmentmanifest, 
packlist ...

I would also create a single DocTypeTemplate.groovy file instead of one file 
for each template (order, quote, invoice ...).

What do you think.

> 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, DocTypeTemplate.patch, 
> InvQuoOrd.patch, InvoiceTemplate.patch, InvoiceTemplateWithTest.patch, 
> OFBIZ-10215.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)

Reply via email to