From c4bc75d5f4fee56fdc00de615cbefa4d542f3c3f Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Sat, 28 Feb 2009 16:09:28 +0000 Subject: [PATCH] Fix "Error when receiving return from customer" https://issues.apache.org/jira/browse/OFBIZ-2207 OFBIZ-2207 git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@748873 13f79535-47bb-0310-9956-ffa450edef68 --- applications/order/config/OrderUiLabels.xml | 2 +- .../ofbiz/order/order/OrderReturnServices.xml | 50 +++++-------------- .../actions/returns/ReceiveReturn.groovy | 1 + 3 files changed, 14 insertions(+), 39 deletions(-) diff --git a/applications/order/config/OrderUiLabels.xml b/applications/order/config/OrderUiLabels.xml index 1ff3268db4..2d4c27ce96 100644 --- a/applications/order/config/OrderUiLabels.xml +++ b/applications/order/config/OrderUiLabels.xml @@ -7707,7 +7707,7 @@ Preis enthält keine Steueranpassungen Price not includes tax adjustments El precio no incluye impuestos - Le prix n'inclut pas de taxes d'ajustement + Le prix n'inclut pas de taxes Prezzo non include tasse e aggiustamenti Price not includes tax adjustments Pret nu include taxe si ajustari OrderReturnReason=Motivatie Returnare diff --git a/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml b/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml index 7c2e54f3ed..eea20d30d7 100644 --- a/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml +++ b/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml @@ -341,31 +341,14 @@ under the License. - - - - - - - - - - - - - - - - - - - - + + + @@ -388,15 +371,11 @@ under the License. - - - - - + - - + + @@ -539,23 +518,18 @@ under the License. - - - - - - - - - + + + + - + - + diff --git a/applications/product/webapp/facility/WEB-INF/actions/returns/ReceiveReturn.groovy b/applications/product/webapp/facility/WEB-INF/actions/returns/ReceiveReturn.groovy index 09ffe28e4a..101d2f246c 100644 --- a/applications/product/webapp/facility/WEB-INF/actions/returns/ReceiveReturn.groovy +++ b/applications/product/webapp/facility/WEB-INF/actions/returns/ReceiveReturn.groovy @@ -20,6 +20,7 @@ import org.ofbiz.entity.*; import org.ofbiz.entity.condition.EntityCondition; import org.ofbiz.entity.util.*; +import org.ofbiz.base.util.*; facilityId = request.getParameter("facilityId"); returnId = request.getParameter("returnId");