revert: remove old tax_rate records even if .tax does not match geocode/taxclassnum...
authorIvan Kohler <ivan@freeside.biz>
Tue, 14 Aug 2012 05:15:24 +0000 (22:15 -0700)
committerIvan Kohler <ivan@freeside.biz>
Tue, 14 Aug 2012 05:15:24 +0000 (22:15 -0700)
FS/FS/tax_rate.pm

index 6c65bd4..a5a623d 100644 (file)
@@ -826,9 +826,6 @@ sub batch_import {
       }
     }
 
-    #remove even if the rate doesn't match,
-    # geocode/taxclassnum/taxname/etc. should be enough
-    delete $delete{$_}->{tax};
     my $old = qsearchs( 'tax_rate', $delete{$_} );
     unless ($old) {
       $dbh->rollback if $oldAutoCommit;