allow importation of customers with no tax rates
authorjeff <jeff>
Mon, 23 Aug 2010 19:51:25 +0000 (19:51 +0000)
committerjeff <jeff>
Mon, 23 Aug 2010 19:51:25 +0000 (19:51 +0000)
FS/FS/cust_main.pm

index c0fb5d2..5203723 100644 (file)
@@ -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)