You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mo...@apache.org on 2009/08/01 06:25:16 UTC
svn commit: r799801 -
/ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/shipment/WeightPackage.groovy
Author: mor
Date: Sat Aug 1 04:25:14 2009
New Revision: 799801
URL: http://svn.apache.org/viewvc?rev=799801&view=rev
Log:
Minor changes to the script.
Modified:
ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/shipment/WeightPackage.groovy
Modified: ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/shipment/WeightPackage.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/shipment/WeightPackage.groovy?rev=799801&r1=799800&r2=799801&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/shipment/WeightPackage.groovy (original)
+++ ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/shipment/WeightPackage.groovy Sat Aug 1 04:25:14 2009
@@ -85,6 +85,9 @@
if (!shipmentId) {
shipmentId = request.getAttribute("shipmentId");
}
+if (!shipmentId && shipment) {
+ shipmentId = shipment.shipmentId;
+}
context.shipmentId = shipmentId;
if (shipmentId) {
// Get the primaryOrderId from the shipment