Author: deepak
Date: Tue Aug 25 11:21:24 2015
New Revision: 1697651
URL:
http://svn.apache.org/r1697651Log:
(OFBIZ-6571) Passed parameter in correct sequence while doing EntityUtil.getRelated.
Modified:
ofbiz/branches/release13.07/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/GetInvoiceItemTypes.groovy
Modified: ofbiz/branches/release13.07/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/GetInvoiceItemTypes.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release13.07/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/GetInvoiceItemTypes.groovy?rev=1697651&r1=1697650&r2=1697651&view=diff==============================================================================
--- ofbiz/branches/release13.07/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/GetInvoiceItemTypes.groovy (original)
+++ ofbiz/branches/release13.07/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/GetInvoiceItemTypes.groovy Tue Aug 25 11:21:24 2015
@@ -75,7 +75,7 @@ if ("SALES_INVOICE".equals(invoice.invoi
glAccountOrganizationAndClassList = delegator.findByAnd("GlAccountOrganizationAndClass", [organizationPartyId : invoice.partyId], null, false);
} else {
map = delegator.findByAnd("InvoiceItemTypeMap", [invoiceTypeId : invoice.invoiceTypeId], null, true);
- invoiceItemTypes = EntityUtil.getRelated("InvoiceItemType", map, null, false);
+ invoiceItemTypes = EntityUtil.getRelated("InvoiceItemType", null, map, false);
}
context.invoiceItemTypes = invoiceItemTypes;