svn commit: r799801 - /ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/shipment/WeightPackage.groovy

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r799801 - /ofbiz/trunk/applications/product/webapp/facility/WEB-INF/actions/shipment/WeightPackage.groovy

mor-2
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