Improved: Make Create Menu tab bar for BOM consistent
Adds a create BOM tab bar in the main decorator to maintain the consistency
throughout the tab bar of BOM.
Thanks: Avnindra Sharma for the report and patch, Pierre Smits for testing
@@ -32,6 +32,7 @@ under the License.
</condition>
<widgets>
<include-menu name="BomTabBar" location="component://manufacturing/widget/manufacturing/ManufacturingMenus.xml"/>
+ <container style="button-bar"><link target="EditProductBom" text="${uiLabelMap.ManufacturingCreateBom}" style="buttontext"/></container>
<decorator-section-include name="body"/>
</widgets>
<fail-widgets>
@@ -143,9 +144,6 @@ under the License.
<decorator-screen name="CommonBomDecorator">
<decorator-section name="body">
<decorator-screen name="FindScreenDecorator" location="component://common/widget/CommonScreens.xml">
- <decorator-section name="menu-bar">
- <container style="button-bar"><link target="EditProductBom" text="${uiLabelMap.ManufacturingCreateBom}" style="buttontext"/></container>
- </decorator-section>
<decorator-section name="search-options">
<include-form name="FindBom" location="component://manufacturing/widget/manufacturing/BomForms.xml"/>
</decorator-section>
