This is an automated email from the ASF dual-hosted git repository.

mridulpathak pushed a commit to branch release24.09
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/release24.09 by this push:
     new e24cb5da3e OFBIZ-12561 Remove duplicate payment find action (#1184)
e24cb5da3e is described below

commit e24cb5da3e3f7b220f39d9d18155fd99b185f852
Author: toaditi <[email protected]>
AuthorDate: Fri May 8 20:22:40 2026 +0530

    OFBIZ-12561 Remove duplicate payment find action (#1184)
    
    ### Summary
    - Backport the OFBIZ-12561 payment menu cleanup to the `release24.09`
    branch.
    - Remove the `findPayment` item from `PaymentTabBar`, which removes the
    extra Find action above the Find Payment screen while retaining the
    search form submit button.
    
    ### Verification
    - `XML_CATALOG_FILES=framework/widget/dtd/widget-catalog.xml xmllint
    --noout --schema framework/widget/dtd/widget-menu.xsd
    applications/accounting/widget/AccountingMenus.xml`
    - XPath check: `PaymentTabBar` `findPayment` menu item count is `0`
    - XPath check: `FindPayments` form `searchButton` submit count is `1`
    
    ### Note
    - The local Gradle hook could not complete in this environment because
    only JDK 11 is installed, while the branch requires Java 17 source
    compatibility (`invalid source release: 17`).
---
 applications/accounting/widget/AccountingMenus.xml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/applications/accounting/widget/AccountingMenus.xml 
b/applications/accounting/widget/AccountingMenus.xml
index 71da0e5ace..7199e962b7 100644
--- a/applications/accounting/widget/AccountingMenus.xml
+++ b/applications/accounting/widget/AccountingMenus.xml
@@ -553,9 +553,6 @@ under the License.
     </menu>
 
     <menu name="PaymentTabBar" extends="CommonTabBarMenu" 
extends-resource="component://common/widget/CommonMenus.xml">
-        <menu-item name="findPayment" title="${uiLabelMap.CommonFind}" >
-            <link target="findPayments"/>
-        </menu-item>
         <menu-item name="paymentOverview" 
title="${uiLabelMap.AccountingPaymentTabOverview}">
             <condition>
                 <not><if-empty field="payment.paymentId"/></not>

Reply via email to