X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FUpgrade.pm;h=ffc04bab77a69de42171386153636f68348c8bac;hb=e8a50b2f6a6e37e4df79de8c2c456fdb9aa3c22f;hp=b4340d07511608d46d78a9c938ad16f0cc10e7bc;hpb=f39624dd22a91495798f253aa5f122e05a77bc41;p=freeside.git diff --git a/FS/FS/Upgrade.pm b/FS/FS/Upgrade.pm index b4340d075..ffc04bab7 100644 --- a/FS/FS/Upgrade.pm +++ b/FS/FS/Upgrade.pm @@ -133,11 +133,11 @@ If you need to continue using the old Form 477 report, turn on the $conf->set($newname, 'location'); } - # boolean enable_taxproducts is now enable_taxproducts = 'cch' - if ( $conf->exists('enable_taxproducts') and - $conf->config('enable_taxproducts') eq '' ) { + # boolean enable_taxproducts is now tax_data_vendor = 'cch' + if ( $conf->exists('enable_taxproducts') ) { - $conf->set('enable_taxproducts', 'cch'); + $conf->delete('enable_taxproducts'); + $conf->set('tax_data_vendor', 'cch'); }