svn commit: r699970 - /ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml

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

svn commit: r699970 - /ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml

hansbak-2
Author: hansbak
Date: Sun Sep 28 20:16:10 2008
New Revision: 699970

URL: http://svn.apache.org/viewvc?rev=699970&view=rev
Log:
new task dropdown was showing duplicates

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

Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml?rev=699970&r1=699969&r2=699970&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml Sun Sep 28 20:16:10 2008
@@ -111,10 +111,12 @@
                 </entity-options>        
             </drop-down>
         </field>
-        <field name="workEffortParentId" use-when="projectId==void" title="${uiLabelMap.ProjectMgrProjectAndPhaseName}*" parameter-name="workEffortParentId" required-field="true" tooltip="${uiLabelMap.CommonRequired}">
-            <drop-down allow-empty="false">
-                <entity-options entity-name="ProjectAndPhaseAndTask" description="${projectName} : ${phaseName}">    
-                    <entity-order-by field-name="workEffortParentId"/>
+        <field name="childWorkEffortId" use-when="projectId==void" title="${uiLabelMap.ProjectMgrProjectAndPhaseName}*" parameter-name="workEffortParentId" required-field="true" tooltip="${uiLabelMap.CommonRequired}">
+            <drop-down allow-empty="true">
+                <entity-options entity-name="WorkEffortAndChild" description="${workEffortName} : ${childWorkEffortName}">
+                    <entity-constraint name="childWorkEffortTypeId" value="PHASE"/>
+                    <entity-order-by field-name="workEffortName"/>
+                    <entity-order-by field-name="childWorkEffortName"/>
                 </entity-options>
             </drop-down>
         </field>