ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From doo...@apache.org
Subject svn commit: r917792 - /ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy
Date Mon, 01 Mar 2010 23:24:50 GMT
Author: doogie
Date: Mon Mar  1 23:24:50 2010
New Revision: 917792

URL: http://svn.apache.org/viewvc?rev=917792&view=rev
Log:
Fetch the correct party id when dealing with vendor returns, patch is
from OFBIZ-3514.

Modified:
    ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy

Modified: ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy?rev=917792&r1=917791&r2=917792&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy
(original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy
Mon Mar  1 23:24:50 2010
@@ -93,6 +93,8 @@
 } else if (returnHeader) {
     if ("CUSTOMER_RETURN".equals(returnHeader.returnHeaderTypeId) && returnHeader.toPartyId)
{
         partyId = returnHeader.toPartyId;
+    } else if ("VENDOR_RETURN".equals(returnHeader.returnHeaderTypeId) && returnHeader.fromPartyId)
{
+        partyId = returnHeader.fromPartyId;
     }
 } else if (quote) {
     productStore = quote.getRelatedOne("ProductStore");



Mime
View raw message