From 0a9b7ad6786deed6f8b8c770d128182c7b9b7097 Mon Sep 17 00:00:00 2001 From: jeff Date: Mon, 23 Aug 2010 19:51:25 +0000 Subject: [PATCH] allow importation of customers with no tax rates --- FS/FS/cust_main.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) -- 2.11.0