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 fa4fc79d62 Fixed: Duplicate create trigger for PaymentGroup 
(OFBIZ-12904) (#697)
fa4fc79d62 is described below

commit fa4fc79d6231b016f3c7892e6e179b155203c550
Author: Pierre Smits <pierre.sm...@somonar.com>
AuthorDate: Sat Feb 17 16:45:00 2024 +0100

    Fixed: Duplicate create trigger for PaymentGroup (OFBIZ-12904) (#697)
    
    The action trigger for creating a new PaymentGroup record is included in 
the MainActionMenu of the component and in the action menu related to Payment 
group.
    The second one is superfluous.
    
    modified: AccountingMenus.xml
    - removed menu-item regarding creating a new PaymentGroup
---
 applications/accounting/widget/AccountingMenus.xml | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/applications/accounting/widget/AccountingMenus.xml 
b/applications/accounting/widget/AccountingMenus.xml
index 00cb9bdfe6..d87819f35e 100644
--- a/applications/accounting/widget/AccountingMenus.xml
+++ b/applications/accounting/widget/AccountingMenus.xml
@@ -711,17 +711,6 @@ under the License.
     </menu>
     <menu name="PaymentGroupSubTabBar" extends="CommonTabBarMenu" 
extends-resource="component://common/widget/CommonMenus.xml"
             menu-container-style="button-bar button-style-2">
-        <menu-item name="createNew" title="${uiLabelMap.CommonCreate}" 
widget-style="buttontext create">
-            <condition>
-                <and>
-                    <or>
-                        <if-has-permission permission="ACCOUNTING" 
action="_CREATE"/>
-                    </or>
-                    <not><if-empty field="paymentGroup"/></not>
-                </and>
-            </condition>
-            <link target="EditPaymentGroup"/>
-        </menu-item>
         <menu-item name="EditPaymentGroup" title="${uiLabelMap.CommonEdit}">
             <condition>
                 <and>

Reply via email to