From 396c955fd59516e2f80f4252f062cb26a9f8f182 Mon Sep 17 00:00:00 2001
From: Paul Wassi
Date: Fri, 25 May 2018 01:53:32 +0200
Subject: [PATCH] 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.
---
libgnucash/engine/gncVendor.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libgnucash/engine/gncVendor.c b/libgnucash/engine/gncVendor.c
index b5f418cc60..cdfdd0a314 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