This is an automated email from the ASF dual-hosted git repository.
danwatford pushed a commit to branch release22.01
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/release22.01 by this push:
new 7f352a5c31 Fixed: Added accounting main action menu to Organization GL
Settings screens (OFBIZ-12771)
7f352a5c31 is described below
commit 7f352a5c31eb6b5eef172c9d63f35814ef1b3c45
Author: Daniel Watford <[email protected]>
AuthorDate: Wed Mar 8 17:18:20 2023 +0000
Fixed: Added accounting main action menu to Organization GL Settings
screens (OFBIZ-12771)
Clicking on the Create a Gl Transactions button navigates to a screen
within the Organisation GL Settings group of screens. Within this
context the main actions menu - which included the Create button - is
not visible, meaning it is cumbersome for the user to add another
transaction.
This commit adds the main actions menu to the Organization GL Settings
screens, matching the way the actions are displayed in all other
Accountancy screens.
(cherry picked from commit 18cf371e1b55f093228b64bef361e946b4635ca8)
---
applications/accounting/widget/CommonScreens.xml | 1 +
applications/accounting/widget/GlScreens.xml | 3 +++
2 files changed, 4 insertions(+)
diff --git a/applications/accounting/widget/CommonScreens.xml
b/applications/accounting/widget/CommonScreens.xml
index 5840307588..4b61f8721e 100644
--- a/applications/accounting/widget/CommonScreens.xml
+++ b/applications/accounting/widget/CommonScreens.xml
@@ -219,6 +219,7 @@ under the License.
<widgets>
<decorator-screen name="main-decorator"
location="${parameters.mainDecoratorLocation}">
<decorator-section name="pre-body">
+ <include-menu
location="component://accounting/widget/AccountingMenus.xml"
name="MainActionMenu"/>
<section>
<condition>
<not><if-empty
field="organizationPartyId"/></not>
diff --git a/applications/accounting/widget/GlScreens.xml
b/applications/accounting/widget/GlScreens.xml
index e807eeda62..2c1bf01986 100644
--- a/applications/accounting/widget/GlScreens.xml
+++ b/applications/accounting/widget/GlScreens.xml
@@ -31,6 +31,9 @@ under the License.
</actions>
<widgets>
<decorator-screen name="CommonPartyDecorator"
location="${parameters.partyDecoratorLocation}">
+ <decorator-section name="pre-body">
+ <include-menu
location="component://accounting/widget/AccountingMenus.xml"
name="MainActionMenu"/>
+ </decorator-section>
<decorator-section name="body">
<include-menu name="OrganizationAccountingTabBar"
location="component://accounting/widget/AccountingMenus.xml"/>
<decorator-section-include name="body"/>