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

Jacques Le Roux edited comment on OFBIZ-7147 at 9/21/18 8:15 AM:
-----------------------------------------------------------------

Hi [~jacques.le.roux]

This should fix with the patch attached on ticket OFBIZ-7124. I am testing and 
committing that patch as well.


was (Author: arunpati):
Hi [~jacques.le.roux]

This should fix with the patch attached on ticket 
https://issues.apache.org/jira/browse/OFBIZ-7124. I am testing and committing 
that patch as well.

> Remove parentTypeId from InvoiceType data where InvoiceTypeId and 
> parentTypeId are equal
> ----------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-7147
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7147
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>    Affects Versions: Release Branch 14.12, Trunk, Release Branch 15.12
>            Reporter: Arun Patidar
>            Assignee: Jacques Le Roux
>            Priority: Major
>             Fix For: 14.12.01, 15.12.01, 13.07.04
>
>         Attachments: OFBIZ-7147.patch
>
>
> In InvoiceType data, we have invoiceTypeId value with same parentTypeId. 
> Please refer AccountingTypeData.xml.
> <InvoiceType description="Purchase Invoice" hasTable="N" 
> invoiceTypeId="PURCHASE_INVOICE"  parentTypeId="PURCHASE_INVOICE"/>
> <InvoiceType description="Sales Invoice" hasTable="N" 
> invoiceTypeId="SALES_INVOICE" parentTypeId="SALES_INVOICE"/>
> Here, invoiceTypeId="PURCHASE_INVOICE"  has "PURCHASE_INVOICE" as its 
> parentTypeId. Same applies for invoiceTypeId="SALES_INVOICE" 
> This also causes issue of infinite loop with EntityTypeUtil.hasParentType() 
> method.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to