Applied fix from trunk for revision: 1849528

===

Fixed: The child event added is not listed in the Child Work Efforts. While if we add an existing event it is listed in the WorkEffort component, applied patch from jira issue (OFBIZ-10111)
Thanks, Rubia Elza Joshep and Pradeep Choudhary for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/branches/release17.12@1849529 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Akash Jain
2018-12-22 09:23:58 +00:00
parent f1e833ea23
commit 2dcfa46773
2 changed files with 3 additions and 0 deletions
@@ -696,6 +696,8 @@ under the License.
</if-empty>
<set-service-fields service-name="createWorkEffortAssoc" map="parameters" to-map="createWorkEffortAssocParams"/>
<call-service in-map-name="createWorkEffortAssocParams" service-name="createWorkEffortAssoc"/>
<field-to-result field="createWorkEffortAssocParams.workEffortIdFrom" result-name="workEffortIdFrom"/>
<field-to-result field="createWorkEffortAssocParams.workEffortAssocTypeId" result-name="workEffortAssocTypeId"/>
</else>
</if-not-empty>
</simple-method>
@@ -290,6 +290,7 @@ under the License.
the form it is extending (results in two workEffortId fields in the form)
<field name="workEffortId"><hidden value=""/></field>
-->
<alt-target use-when="workEffort==null" target="createWorkEffortAndAssoc"/>
<field name="workEffortIdFrom"><display-entity entity-name="WorkEffort" key-field-name="workEffortId" description="${workEffortName} [${workEffortId}]"/></field>
<field name="workEffortIdTo"><lookup target-form-name="LookupWorkEffort"/></field>
<field name="workEffortAssocTypeId">