gnucash maint: Multiple changes pushed

Geert Janssens gjanssens at code.gnucash.org
Sat Feb 29 12:48:47 EST 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/453919b3 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/7845f818 (commit)
	from  https://github.com/Gnucash/gnucash/commit/d7eb24f2 (commit)



commit 453919b3f649a21c3a48f75799ab3acd896472f9
Merge: d7eb24f20 7845f8184
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sat Feb 29 17:34:02 2020 +0100

    Bug 797613 Due Invoices Reminder shows Job Name instead of Company Name
    
    This closes #653


commit 7845f818467b08121695716f4aa3562a21414d27
Author: Rob Laan <rob.laan at chello.nl>
Date:   Sat Feb 29 11:19:20 2020 +0100

    Bug 797613  Due Invoices Reminder shows Job Name instead of Company Name
    
    In the invoices due dialog, the column 'Company' should show the name of the customer/vendor of an invoice/bill.
    Currently the content is set to the owner name, but if a job is assigned to the invoice, that will show the job name.
    This change changes the content to the name of the owner parent, which is always  the customer/vendor name.

diff --git a/gnucash/gnome/dialog-invoice.c b/gnucash/gnome/dialog-invoice.c
index e38d00e2e..c5224dbca 100644
--- a/gnucash/gnome/dialog-invoice.c
+++ b/gnucash/gnome/dialog-invoice.c
@@ -3387,7 +3387,7 @@ gnc_invoice_show_docs_due (GtkWindow *parent, QofBook *book, double days_in_adva
         param_list = gnc_search_param_prepend (param_list, _("Amount"), NULL, type,
                                                INVOICE_POST_LOT, LOT_BALANCE, NULL);
         param_list = gnc_search_param_prepend (param_list, _("Company"), NULL, type,
-                                               INVOICE_OWNER, OWNER_NAME, NULL);
+                                               INVOICE_OWNER, OWNER_PARENT, OWNER_NAME, NULL);
         param_list = gnc_search_param_prepend (param_list, _("Due"), NULL, type,
                                                INVOICE_DUE, NULL);
     }



Summary of changes:
 gnucash/gnome/dialog-invoice.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the gnucash-changes mailing list