This is an automated email from the ASF dual-hosted git repository.

nmalin pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 453ae65418 Fixed: Error rendering included form "MandatoryWorkEfforts" 
when approving parent production run (OFBIZ-13223)
453ae65418 is described below

commit 453ae654189d737a1bcc9ce852b68de86b7a59c1
Author: Yashwant Dhakad <yashmitm1...@gmail.com>
AuthorDate: Thu Apr 17 18:39:29 2025 +0530

    Fixed: Error rendering included form "MandatoryWorkEfforts" when approving 
parent production run (OFBIZ-13223)
---
 .../manufacturing/widget/manufacturing/JobshopScreens.xml         | 4 ++--
 .../manufacturing/widget/manufacturing/ProductionRunForms.xml     | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/applications/manufacturing/widget/manufacturing/JobshopScreens.xml 
b/applications/manufacturing/widget/manufacturing/JobshopScreens.xml
index 8a5e1a732e..941247f3d6 100644
--- a/applications/manufacturing/widget/manufacturing/JobshopScreens.xml
+++ b/applications/manufacturing/widget/manufacturing/JobshopScreens.xml
@@ -227,7 +227,7 @@ under the License.
                             </condition>
                             <widgets>
                                 <screenlet 
title="${uiLabelMap.ManufacturingMandatoryWorkEfforts}">
-                                    <include-form name="MandatoryWorkEfforts" 
location="component://manufacturing/widget/manufacturing/ProductionRunForms.xml"/>
+                                    <include-grid name="MandatoryWorkEfforts" 
location="component://manufacturing/widget/manufacturing/ProductionRunForms.xml"/>
                                 </screenlet>
                             </widgets>
                         </section>
@@ -237,7 +237,7 @@ under the License.
                             </condition>
                             <widgets>
                                 <screenlet 
title="${uiLabelMap.ManufacturingDependentWorkEfforts}">
-                                    <include-form name="DependentWorkEfforts" 
location="component://manufacturing/widget/manufacturing/ProductionRunForms.xml"/>
+                                    <include-grid name="DependentWorkEfforts" 
location="component://manufacturing/widget/manufacturing/ProductionRunForms.xml"/>
                                 </screenlet>
                             </widgets>
                         </section>
diff --git 
a/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml 
b/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml
index 57573320f3..bfd478c0e3 100644
--- a/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml
+++ b/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml
@@ -788,7 +788,7 @@ under the License.
         </field>
         <field name="submitButton" 
title="${uiLabelMap.CommonSubmit}"><submit/></field>
     </form>
-    <grid name="MandatoryWorkEfforts" list-name="mandatoryWorkEfforts"
+    <form name="MandatoryWorkEfforts" list-name="mandatoryWorkEfforts"
         odd-row-style="alternate-row" default-table-style="basic-table 
hover-bar">
         <field name="workEffortIdFrom" title=" " widget-style="buttontext">
             <hyperlink description="${workEffortIdFrom}" 
target="ShowProductionRun" also-hidden="false" link-type="anchor">
@@ -825,8 +825,8 @@ under the License.
                 <parameter param-name="productionRunId"/>
             </hyperlink>
         </field>
-    </grid>
-    <grid name="DependentWorkEfforts"  list-name="dependentWorkEfforts"
+    </form>
+    <form name="DependentWorkEfforts"  list-name="dependentWorkEfforts"
         odd-row-style="alternate-row" default-table-style="basic-table 
hover-bar">
         <field name="workEffortIdTo" title=" " widget-style="buttontext">
             <hyperlink description="${workEffortIdTo}" 
target="ShowProductionRun" also-hidden="false" link-type="anchor">
@@ -863,7 +863,7 @@ under the License.
                 <parameter param-name="productionRunId"/>
             </hyperlink>
         </field>
-    </grid>
+    </form>
     <grid name="ProductionRunTaskCosts" list-name="taskCosts"
         odd-row-style="alternate-row" default-table-style="basic-table 
hover-bar">
         <auto-fields-entity entity-name="CostComponent" 
default-field-type="display"/>

Reply via email to