This is an automated email from the ASF dual-hosted git repository. danwatford 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 18cf371e1b Fixed: Added accounting main action menu to Organization GL Settings screens (OFBIZ-12771) 18cf371e1b is described below commit 18cf371e1b55f093228b64bef361e946b4635ca8 Author: Daniel Watford <dan...@watfordconsulting.com> 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. --- 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 442ffa4448..cc2f31d11b 100644 --- a/applications/accounting/widget/CommonScreens.xml +++ b/applications/accounting/widget/CommonScreens.xml @@ -206,6 +206,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"/>