Author: hansbak
Date: Sat Aug 8 02:50:06 2009
New Revision: 802287
URL:
http://svn.apache.org/viewvc?rev=802287&view=revLog:
fixes the HR tree as reported in OFBIZ-2796
Modified:
ofbiz/trunk/applications/humanres/widget/PartyTrees.xml
Modified: ofbiz/trunk/applications/humanres/widget/PartyTrees.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/PartyTrees.xml?rev=802287&r1=802286&r2=802287&view=diff==============================================================================
--- ofbiz/trunk/applications/humanres/widget/PartyTrees.xml (original)
+++ ofbiz/trunk/applications/humanres/widget/PartyTrees.xml Sat Aug 8 02:50:06 2009
@@ -23,7 +23,9 @@
<tree name="OrgTree" root-node-name="node-root" entity-name="PartyAndGroup" open-depth="1">
<node name="node-root" entity-name="PartyAndGroup" render-style="expand-collapse">
<entity-one entity-name="PartyAndGroup" value-field="partyAndGroup"/>
- <include-screen name="PartyGroupTreeLine" location="component://humanres/widget/CommonScreens.xml"/>
+ <link target="viewprofile" text="${partyAndGroup.groupName}" >
+ <parameter param-name="partyId"/>
+ </link>
<sub-node node-name="internalOrg-list">
<entity-condition entity-name="PartyRelationship" filter-by-date="true">
<condition-list combine="and">
@@ -37,7 +39,9 @@
<entity-one entity-name="PartyAndGroup" value-field="partyAndGroup">
<field-map field-name="partyId" from-field="partyRelationship.partyIdTo"/>
</entity-one>
- <include-screen name="PartyGroupTreeLine" location="component://humanres/widget/CommonScreens.xml"/>
+ <link target="viewprofile" text="${partyAndGroup.groupName}" >
+ <parameter param-name="partyId" from-field="partyRelationship.partyIdTo"/>
+ </link>
<sub-node node-name="employee-list">
<entity-condition entity-name="Employment" filter-by-date="true">
<condition-list combine="and">