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 6244ad93ce Fixed: Party Main: duplicate action trigger (Person/Group) (OFBIZ-12560) (#508) 6244ad93ce is described below commit 6244ad93ce88f05390a506fec6109e14fcc5107e Author: Pierre Smits <pierre.sm...@orrtiz.com> AuthorDate: Wed May 4 17:37:20 2022 +0200 Fixed: Party Main: duplicate action trigger (Person/Group) (OFBIZ-12560) (#508) When accessing https://localhost:8443/partymgr/control/main the screen shows duplicate action triggers for the creation of a new party of type=PERSON or of type=PARTYGROUP. These action triggers come from the MainActionMenu for the a component, and from the 'CreateNewParty' menu. modified: PartyMenus.xml removed from menu CreateNewParty: - menu-item for the creation of a PartyGroup - menu-item for the creation of a Person as these already exists in the MainActionMenu of the component. --- applications/party/widget/partymgr/PartyMenus.xml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/applications/party/widget/partymgr/PartyMenus.xml b/applications/party/widget/partymgr/PartyMenus.xml index 522663b99a..f36741832f 100644 --- a/applications/party/widget/partymgr/PartyMenus.xml +++ b/applications/party/widget/partymgr/PartyMenus.xml @@ -257,22 +257,6 @@ </menu-item> </menu> <menu name="CreateNewParty" menu-container-style="basic-nav"> - <menu-item name="create-party-group" title="${uiLabelMap.PartyCreateNewPartyGroup}"> - <condition> - <if-has-permission permission="PARTYMGR" action="_CREATE"/> - </condition> - <link target="editpartygroup"> - <parameter param-name="create_new" value="Y"/> - </link> - </menu-item> - <menu-item name="create-person" title="${uiLabelMap.PartyCreateNewPerson}"> - <condition> - <if-has-permission permission="PARTYMGR" action="_CREATE"/> - </condition> - <link target="editperson"> - <parameter param-name="create_new" value="Y"/> - </link> - </menu-item> <menu-item name="create-customer" title="${uiLabelMap.PartyCreateNewCustomer}"> <condition> <if-has-permission permission="PARTYMGR" action="_CREATE"/>