X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=FS%2FFS%2FUpgrade.pm;h=7aa7ce37e4f6531520a2866410b9f506bef70534;hb=707368aa7db1cecdd05b74c8531249a1e1370823;hp=cb16ead801e12bd9a27074f08312dc97f92492f7;hpb=c9081050af4a3bd2d151508605493c946b38ff9d;p=freeside.git diff --git a/FS/FS/Upgrade.pm b/FS/FS/Upgrade.pm index cb16ead80..7aa7ce37e 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 { @@ -228,7 +236,7 @@ sub upgrade { } local($FS::cust_main::ignore_expired_card) = 1; - local($FS::cust_main::ignore_illegal_zip) = 1; + #this is long-gone... would need to set an equivalent in cust_location #local($FS::cust_main::ignore_illegal_zip) = 1; local($FS::cust_main::ignore_banned_card) = 1; local($FS::cust_main::skip_fuzzyfiles) = 1; @@ -374,6 +382,9 @@ sub upgrade_data { #populate state FIPS codes if not already done 'state' => [], + + #populate tax statuses + 'tax_status' => [], ; \%hash;