gnucash stable: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Sat Jan 31 00:05:25 EST 2026


Updated	 via  https://github.com/Gnucash/gnucash/commit/e0d9d336 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/d44f3d68 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/e19766bd (commit)
	from  https://github.com/Gnucash/gnucash/commit/72964074 (commit)



commit e0d9d336baee2292b6ddad7ecbc44957baaf4fc6
Merge: 7296407457 d44f3d68fc
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Jan 31 13:04:12 2026 +0800

    Merge branch 'add_search_invoices_to_customer_list_popup' #2062 into stable


commit d44f3d68fc72fee189c81b05839c95faa1010212
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Jan 31 13:00:35 2026 +0800

    Addendum parent commit -- expand to other owner documents

diff --git a/gnucash/ui/gnc-plugin-page-owner-tree.ui b/gnucash/ui/gnc-plugin-page-owner-tree.ui
index 0b08c8a515..b62fca74a9 100644
--- a/gnucash/ui/gnc-plugin-page-owner-tree.ui
+++ b/gnucash/ui/gnc-plugin-page-owner-tree.ui
@@ -160,6 +160,11 @@
         <attribute name="action">GncPluginPageOwnerTreeActions.OTNewInvoiceAction</attribute>
         <attribute name="tooltip" translatable="yes">Create a new invoice</attribute>
       </item>
+      <item>
+        <attribute name="label" translatable="yes">Find Customer Invoices…</attribute>
+        <attribute name="action">GncPluginPageOwnerTreeActions.OTSearchInvoicesAction</attribute>
+        <attribute name="tooltip" translatable="yes">Open the Find Invoice Dialog with the invoices already filtered for this customer</attribute>
+      </item>
       <item>
         <attribute name="label" translatable="yes">Customer Report</attribute>
         <attribute name="action">GncPluginPageOwnerTreeActions.OTCustomerReportAction</attribute>
@@ -170,11 +175,6 @@
         <attribute name="action">GncPluginPageOwnerTreeActions.OTProcessPaymentAction</attribute>
         <attribute name="tooltip" translatable="yes">Process Payment</attribute>
       </item>
-      <item>
-        <attribute name="label" translatable="yes">Customer's Invoices</attribute>
-        <attribute name="action">GncPluginPageOwnerTreeActions.OTSearchInvoicesAction</attribute>
-        <attribute name="tooltip" translatable="yes">Customer's Invoices</attribute>
-      </item>
     </section>
   </menu>
 
@@ -199,6 +199,11 @@
         <attribute name="action">GncPluginPageOwnerTreeActions.OTNewBillAction</attribute>
         <attribute name="tooltip" translatable="yes">Create a new bill</attribute>
       </item>
+      <item>
+        <attribute name="label" translatable="yes">Find Vendor Bills…</attribute>
+        <attribute name="action">GncPluginPageOwnerTreeActions.OTSearchInvoicesAction</attribute>
+        <attribute name="tooltip" translatable="yes">Open the Find Bill Dialog with the bills already filtered for this vendor</attribute>
+      </item>
       <item>
         <attribute name="label" translatable="yes">Vendor Report</attribute>
         <attribute name="action">GncPluginPageOwnerTreeActions.OTVendorReportAction</attribute>
@@ -233,6 +238,11 @@
         <attribute name="action">GncPluginPageOwnerTreeActions.OTNewVoucherAction</attribute>
         <attribute name="tooltip" translatable="yes">Create a new voucher</attribute>
       </item>
+      <item>
+        <attribute name="label" translatable="yes">Find Employee Vouchers…</attribute>
+        <attribute name="action">GncPluginPageOwnerTreeActions.OTSearchInvoicesAction</attribute>
+        <attribute name="tooltip" translatable="yes">Open the Find Employee Voucher Dialog with the vouchers already filtered for this employee</attribute>
+      </item>
       <item>
         <attribute name="label" translatable="yes">Employee Report</attribute>
         <attribute name="action">GncPluginPageOwnerTreeActions.OTEmployeeReportAction</attribute>

commit e19766bd2e7cdce1a35b89f9e1897c4604b439b0
Author: Ron Bessems <rbessems at gmail.com>
Date:   Sun Feb 23 19:37:03 2025 -0800

    Add Customer's invoices to custom list popup

diff --git a/gnucash/gnome/gnc-plugin-page-owner-tree.cpp b/gnucash/gnome/gnc-plugin-page-owner-tree.cpp
index 3bd754db7f..ca0cf81e2d 100644
--- a/gnucash/gnome/gnc-plugin-page-owner-tree.cpp
+++ b/gnucash/gnome/gnc-plugin-page-owner-tree.cpp
@@ -130,6 +130,7 @@ static void gnc_plugin_page_owner_tree_cmd_owners_report (GSimpleAction *simple,
 static void gnc_plugin_page_owner_tree_cmd_owner_report (GSimpleAction *simple, GVariant *parameter, gpointer user_data);
 static void gnc_plugin_page_owner_tree_cmd_process_payment (GSimpleAction *simple, GVariant *parameter, gpointer user_data);
 static void gnc_plugin_page_owner_tree_cmd_edit_tax (GSimpleAction *simple, GVariant *parameter, gpointer user_data);
+static void gnc_plugin_page_owner_tree_cmd_search_invoices (GSimpleAction *simple, GVariant *parameter, gpointer user_data);
 
 static guint plugin_page_signals[LAST_SIGNAL] = { 0 };
 
@@ -159,6 +160,7 @@ static GActionEntry gnc_plugin_page_owner_tree_actions [] =
     { "OTCustomerReportAction", gnc_plugin_page_owner_tree_cmd_owner_report, NULL, NULL, NULL },
     { "OTEmployeeReportAction", gnc_plugin_page_owner_tree_cmd_owner_report, NULL, NULL, NULL },
     { "OTProcessPaymentAction", gnc_plugin_page_owner_tree_cmd_process_payment, NULL, NULL, NULL },
+    { "OTSearchInvoicesAction", gnc_plugin_page_owner_tree_cmd_search_invoices, NULL, NULL, NULL },
 };
 /** The number of actions provided by this plugin. */
 static guint gnc_plugin_page_owner_tree_n_actions = G_N_ELEMENTS(gnc_plugin_page_owner_tree_actions);
@@ -1008,6 +1010,27 @@ gnc_plugin_page_owner_tree_cmd_edit_owner (GSimpleAction *simple,
     LEAVE(" ");
 }
 
+static void
+gnc_plugin_page_owner_tree_cmd_search_invoices (GSimpleAction *simple,
+                                           GVariant *parameter,
+                                           gpointer user_data)
+
+{
+    auto page = GNC_PLUGIN_PAGE_OWNER_TREE (user_data);
+    GtkWindow *parent;
+    GncOwner *owner = gnc_plugin_page_owner_tree_get_current_owner (page);
+    if (NULL == owner) return;
+
+    ENTER("action %p, page %p", simple, page);
+
+    parent = GTK_WINDOW (gnc_plugin_page_get_window (GNC_PLUGIN_PAGE (page)));
+
+    gnc_invoice_search (parent, NULL, owner, gnc_get_current_book ());
+
+    LEAVE(" ");
+}
+
+
 #if 0 /* Disabled due to crash */
 static void
 gnc_plugin_page_owner_tree_cmd_delete_owner (GSimpleAction *simple,
diff --git a/gnucash/ui/gnc-plugin-page-owner-tree.ui b/gnucash/ui/gnc-plugin-page-owner-tree.ui
index f38fd05125..0b08c8a515 100644
--- a/gnucash/ui/gnc-plugin-page-owner-tree.ui
+++ b/gnucash/ui/gnc-plugin-page-owner-tree.ui
@@ -42,7 +42,7 @@
       <attribute name="temp" translatable="no">yes</attribute>
     </item>
   </menu>
-  
+
   <menu id="EditPlaceholder2-e">
     <item>
       <attribute name="label" translatable="yes">E_dit Employee</attribute>
@@ -170,6 +170,11 @@
         <attribute name="action">GncPluginPageOwnerTreeActions.OTProcessPaymentAction</attribute>
         <attribute name="tooltip" translatable="yes">Process Payment</attribute>
       </item>
+      <item>
+        <attribute name="label" translatable="yes">Customer's Invoices</attribute>
+        <attribute name="action">GncPluginPageOwnerTreeActions.OTSearchInvoicesAction</attribute>
+        <attribute name="tooltip" translatable="yes">Customer's Invoices</attribute>
+      </item>
     </section>
   </menu>
 



Summary of changes:
 gnucash/gnome/gnc-plugin-page-owner-tree.cpp | 23 +++++++++++++++++++++++
 gnucash/ui/gnc-plugin-page-owner-tree.ui     | 17 ++++++++++++++++-
 2 files changed, 39 insertions(+), 1 deletion(-)



More information about the gnucash-changes mailing list