gnucash maint: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Sat May 26 19:37:54 EDT 2018


Updated	 via  https://github.com/Gnucash/gnucash/commit/aa086893 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/396c955f (commit)
	from  https://github.com/Gnucash/gnucash/commit/5c0f56b0 (commit)



commit aa08689371bce86590ab7557d9cd81040d354a50
Merge: 5c0f56b 396c955
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat May 26 16:35:58 2018 -0700

    Merge Paul Wassi's "Fix Permanent Storage" PR into maint.


commit 396c955fd59516e2f80f4252f062cb26a9f8f182
Author: Paul Wassi <p.wassi at gmx.at>
Date:   Fri May 25 01:53:32 2018 +0200

    Fix permanent storage of vendor details.
    
    Since the data types did not match for the billterms and taxtable,
    those references/guids were not saved to the database.

diff --git a/libgnucash/engine/gncVendor.c b/libgnucash/engine/gncVendor.c
index b5f418c..cdfdd0a 100644
--- a/libgnucash/engine/gncVendor.c
+++ b/libgnucash/engine/gncVendor.c
@@ -376,7 +376,7 @@ gnc_vendor_class_init (GncVendorClass *klass)
      g_param_spec_object ("terms",
                           "Terms",
                           "The billing terms used by this vendor.",
-                          GNC_TYPE_COMMODITY,
+                          GNC_TYPE_BILLTERM,
                           G_PARAM_READWRITE));
 
     g_object_class_install_property
@@ -385,7 +385,7 @@ gnc_vendor_class_init (GncVendorClass *klass)
      g_param_spec_object ("tax-table",
                           "Tax table",
                           "The tax table which applies to this vendor.",
-                          GNC_TYPE_COMMODITY,
+                          GNC_TYPE_TAXTABLE,
                           G_PARAM_READWRITE));
 
     g_object_class_install_property



Summary of changes:
 libgnucash/engine/gncVendor.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)



More information about the gnucash-changes mailing list