'old_fcc_report' configuration option.
";
}
+
+ # boolean invoice_sections_by_location option is now
+ # invoice_sections_method = 'location'
+ my @invoice_sections_confs =
+ qsearch('conf', { 'name' => { op=>'LIKE', value=>'%sections_by_location' } });
+ foreach my $c (@invoice_sections_confs) {
+ $c->name =~ /^(\w+)sections_by_location$/;
+ $conf->delete($c->name);
+ my $newname = $1.'sections_method';
+ $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 {
}
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;
#populate state FIPS codes if not already done
'state' => [],
+
+ #populate tax statuses
+ 'tax_status' => [],
;
\%hash;