ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hans...@apache.org
Subject svn commit: r905945 - /ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml
Date Wed, 03 Feb 2010 09:11:28 GMT
Author: hansbak
Date: Wed Feb  3 09:11:28 2010
New Revision: 905945

URL: http://svn.apache.org/viewvc?rev=905945&view=rev
Log:
only show non deleted and active resources to be added to a project

Modified:
    ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml

Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml?rev=905945&r1=905944&r2=905945&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml Wed Feb  3 09:11:28
2010
@@ -544,9 +544,11 @@
     <form name="AddWorkEffortPartyAssign" target="createWorkEffortPartyAssign" title=""
type="single"
         header-row-style="header-row" default-table-style="basic-table">
         <actions>
-            <entity-condition entity-name="PartyRoleDetailAndPartyDetail" distinct="true"
list="projectResources">
-                <condition-expr field-name="parentTypeId" operator="equals" value="PROJECT_TEAM"/>
-                <select-field field-name="partyId"/>
+            <entity-condition entity-name="PartyRoleAndPartyDetail" distinct="true" list="projectResources">
+                   <condition-list combine="and">
+                        <condition-expr field-name="roleTypeId" operator="equals" value="PROJECT_TEAM"/>
+                        <condition-expr field-name="statusId" operator="not-equals" value="PARTY_DISABLED"/>
+                    </condition-list>                <select-field field-name="partyId"/>
                 <select-field field-name="lastName"/>
                 <select-field field-name="firstName"/>
                 <select-field field-name="groupName"/>



Mime
View raw message