From: jeff Date: Mon, 23 Aug 2010 19:51:25 +0000 (+0000) Subject: allow importation of customers with no tax rates X-Git-Tag: TORRUS_1_0_9~365 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=0a9b7ad6786deed6f8b8c770d128182c7b9b7097 allow importation of customers with no tax rates --- diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index c0fb5d297..520372360 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -1790,7 +1790,8 @@ sub check { # bad idea to disable, causes billing to fail because of no tax rates later -# unless ( $import ) { +# except we don't fail any more + unless ( $import ) { unless ( qsearch('cust_main_county', { 'country' => $self->country, 'state' => '', @@ -1803,7 +1804,7 @@ sub check { 'country' => $self->country, } ); } -# } + } $error = $self->ut_phonen('daytime', $self->country)