Fixed: The child event added is not listed in the Child Work Efforts.
(OFBIZ-10111) While if we add an existing event it is listed in the WorkEffort component Thanks, Rubia Elza Joshep and Pradeep Choudhary for your contribution. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1849528 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -692,6 +692,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">
|
||||
|
||||
Reference in New Issue
Block a user