This is an automated email from the ASF dual-hosted git repository. jleroux pushed a commit to branch release24.09 in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/release24.09 by this push: new 6b06d45e04 Fixed: Correct the typo of entity name in cancelReplacementOrderItems method (OFBIZ-13218) 6b06d45e04 is described below commit 6b06d45e04605dd53da8fe1cca669cb44e17a1f2 Author: Jacques Le Roux <jacques.le.r...@les7arts.com> AuthorDate: Tue Mar 18 13:41:51 2025 +0100 Fixed: Correct the typo of entity name in cancelReplacementOrderItems method (OFBIZ-13218) In OrderReturnServicesScript.groovy, inside cancelReplacementOrderItems(), "ReturnItems" entity name needs to be replaced with "ReturnItem". Thanks: Anshul Goyal --- .../org/apache/ofbiz/order/order/OrderReturnServicesScript.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/order/src/main/groovy/org/apache/ofbiz/order/order/OrderReturnServicesScript.groovy b/applications/order/src/main/groovy/org/apache/ofbiz/order/order/OrderReturnServicesScript.groovy index a15854a129..b1d2be5576 100644 --- a/applications/order/src/main/groovy/org/apache/ofbiz/order/order/OrderReturnServicesScript.groovy +++ b/applications/order/src/main/groovy/org/apache/ofbiz/order/order/OrderReturnServicesScript.groovy @@ -605,7 +605,7 @@ Map cancelReturnItems() { * Cancel the associated OrderItems of the replacement order, if any. */ Map cancelReplacementOrderItems() { - GenericValue returnItem = from('ReturnItems').where(parameters).queryOne() + GenericValue returnItem = from('ReturnItem').where(parameters).queryOne() if (returnItem.returnTypeId == 'RTN_REPLACE' || returnItem.returnTypeId == 'RTN_CSREPLACE' || returnItem.returnTypeId == 'RTN_REPAIR_REPLACE') {