Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Release Branch 14.12, 13.07.02, Trunk
-
None
Description
Hi
I’ve come across an error in 13.07, 14.12 and the trunk when you try to create a Customer Return Invoice manually. (In 12.04 it works fine.)
To re-create the issue.
1. Go to Accounting
2. Select "Invoices"
3. Click "Create New Invoice"
4. Using the lower part of the screen, select "Customer Return" and enter "DemoCustomer" as the ‘From Party ID’
5. Click “Create” and the invoice header is created.
6. Click “Items” to add the return items to the invoice and you get an error message (see details below)
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen component://accounting/widget/InvoiceScreens.xml#EditInvoiceItems: java.lang.IllegalArgumentException: Error running script at location [component://accounting/webapp/accounting/WEB-INF/actions/invoice/GetInvoiceItemTypes.groovy]: groovy.lang.MissingMethodException: No signature of method: static org.ofbiz.entity.util.EntityUtil.getRelated() is applicable for argument types: (java.lang.String, java.util.LinkedList, null, java.lang.Boolean) values: [InvoiceItemType, [[lastUpdatedStamp:2015-08-09 03:23:46.565, ...], ...], ...]
Possible solutions: getRelated(java.lang.String, java.util.Map, java.util.List, boolean), getRelated(java.lang.String, java.util.List) (Error running script at location [component://accounting/webapp/accounting/WEB-INF/actions/invoice/GetInvoiceItemTypes.groovy]: groovy.lang.MissingMethodException: No signature of method: static org.ofbiz.entity.util.EntityUtil.getRelated() is applicable for argument types: (java.lang.String, java.util.LinkedList, null, java.lang.Boolean) values: [InvoiceItemType, [[lastUpdatedStamp:2015-08-09 03:23:46.565, ...], ...], ...]
Possible solutions: getRelated(java.lang.String, java.util.Map, java.util.List, boolean), getRelated(java.lang.String, java.util.List))
Thanks
Sharan