This is an automated email from the ASF dual-hosted git repository.
jleroux 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 4caa0dce12 Fixed: GlSetupScreens.xml - MainActionMenu not shown
(OFBIZ-12559) (#507)
4caa0dce12 is described below
commit 4caa0dce1297b4cc0e1a1d8e1a751373169a593b
Author: Pierre Smits <[email protected]>
AuthorDate: Wed May 4 18:05:09 2022 +0200
Fixed: GlSetupScreens.xml - MainActionMenu not shown (OFBIZ-12559) (#507)
The MainActionMenu of the Accounting component is
intended to provide the users with CREATE permissions
a direct way to create the main objects of the
Accounting components (Gl transaction, invoice,
payment), instead of - as such a user - have to go
through multiple screens to get to the action
trigger to create such objects.
The MainActionMenu is applied in various decorator
screens. It is, however, not applied in the
GlSetupScreen.xml file.
Modified: GlSetupScreens.xml
added pre-body decorator section, including ref to
MainActionMenu, to:
- screen ListCompanies
- screen AddCompany
- screen ImportExport
---
applications/accounting/widget/GlSetupScreens.xml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/applications/accounting/widget/GlSetupScreens.xml
b/applications/accounting/widget/GlSetupScreens.xml
index 0a2e76e8fb..cf782ea4f5 100644
--- a/applications/accounting/widget/GlSetupScreens.xml
+++ b/applications/accounting/widget/GlSetupScreens.xml
@@ -67,6 +67,9 @@ under the License.
</actions>
<widgets>
<decorator-screen name="main-decorator"
location="${parameters.mainDecoratorLocation}">
+ <decorator-section name="pre-body">
+ <include-menu name="MainActionMenu"
location="component://accounting/widget/AccountingMenus.xml"/>
+ </decorator-section>
<decorator-section name="body">
<screenlet
title="${uiLabelMap.AccountingAvailableInternalOrganizations}"
navigation-menu-name="NewAccountOrganization">
<include-menu name="NewAccountOrganization"
location="component://accounting/widget/AccountingMenus.xml"/>
@@ -84,6 +87,9 @@ under the License.
</actions>
<widgets>
<decorator-screen name="main-decorator"
location="${parameters.mainDecoratorLocation}">
+ <decorator-section name="pre-body">
+ <include-menu name="MainActionMenu"
location="component://accounting/widget/AccountingMenus.xml"/>
+ </decorator-section>
<decorator-section name="body">
<screenlet title="${uiLabelMap.AccountingNewCompany}">
<include-form name="AddCompany"
location="component://accounting/widget/GlSetupForms.xml"/>
@@ -103,6 +109,9 @@ under the License.
</actions>
<widgets>
<decorator-screen name="main-decorator"
location="${parameters.mainDecoratorLocation}">
+ <decorator-section name="pre-body">
+ <include-menu name="MainActionMenu"
location="component://accounting/widget/AccountingMenus.xml"/>
+ </decorator-section>
<decorator-section name="body">
<screenlet title="${uiLabelMap.AccountingInvoice}
${uiLabelMap.CommonImportExport} ${uiLabelMap.CommonFor}:
${partyGroup.groupName} [${organizationPartyId}]">
<container style="lefthalf">