Author: hansbak
Date: Tue Aug 12 20:32:55 2008
New Revision: 685426
URL:
http://svn.apache.org/viewvc?rev=685426&view=revLog:
fixed error not be able to add a task within a project
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=685426&r1=685425&r2=685426&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml Tue Aug 12 20:32:55 2008
@@ -110,7 +110,7 @@
</entity-options>
</drop-down>
</field>
- <field name="workEffortParentId" title="${uiLabelMap.ProjectMgrProjectAndPhaseName}*" parameter-name="workEffortParentId" required-field="true" tooltip="${uiLabelMap.CommonRequired}">
+ <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"/>