You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2013/07/02 05:49:30 UTC
svn commit: r1498769 -
/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/CheckInits.groovy
Author: hansbak
Date: Tue Jul 2 03:49:29 2013
New Revision: 1498769
URL: http://svn.apache.org/r1498769
Log:
only show organizations in purchase order entry which have a partyaccounting preference otherwise accounting will not work
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/CheckInits.groovy
Modified: ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/CheckInits.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/CheckInits.groovy?rev=1498769&r1=1498768&r2=1498769&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/CheckInits.groovy (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/actions/entry/CheckInits.groovy Tue Jul 2 03:49:29 2013
@@ -49,7 +49,7 @@ context.productStores = productStores;
suppliers = delegator.findByAnd("PartyRoleAndPartyDetail", [roleTypeId : "SUPPLIER"], ["groupName", "partyId"], false);
context.suppliers = suppliers;
-organizations = delegator.findByAnd("PartyRole", [roleTypeId : "INTERNAL_ORGANIZATIO"], null, false);
+organizations = delegator.findByAnd("PartyAcctgPrefAndGroup", null, null, false);
context.organizations = organizations;
// Set Shipping From the Party