X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FUpgrade.pm;h=d76379f3ea28b9d5ff289b201c3699df9b7ef90a;hb=7516e3da0f17eeecba27219ef96a8b5f46af2083;hp=cb16ead801e12bd9a27074f08312dc97f92492f7;hpb=c9081050af4a3bd2d151508605493c946b38ff9d;p=freeside.git diff --git a/FS/FS/Upgrade.pm b/FS/FS/Upgrade.pm index cb16ead80..d76379f3e 100644 --- a/FS/FS/Upgrade.pm +++ b/FS/FS/Upgrade.pm @@ -125,6 +125,14 @@ 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 '' ) { + + $conf->set('enable_taxproducts', 'cch'); + + } + } sub upgrade_overlimit_groups { @@ -374,6 +382,9 @@ sub upgrade_data { #populate state FIPS codes if not already done 'state' => [], + + #populate tax statuses + 'tax_status' => [], ; \%hash;