[freeside-commits] branch master updated. 45c427d4ceae52aac774702e13290144862e9ab8

Ivan ivan at 420.am
Mon Aug 13 22:15:25 PDT 2012


The branch, master has been updated
       via  45c427d4ceae52aac774702e13290144862e9ab8 (commit)
      from  0bd09a9eff467033be42f922f2297a7b488e7dc1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 45c427d4ceae52aac774702e13290144862e9ab8
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Aug 13 22:15:24 2012 -0700

    revert: remove old tax_rate records even if .tax does not match  geocode/taxclassnum/taxname/etc. should be enough(bad data from last update?), RT#18817

diff --git a/FS/FS/tax_rate.pm b/FS/FS/tax_rate.pm
index 6c65bd4..a5a623d 100644
--- a/FS/FS/tax_rate.pm
+++ b/FS/FS/tax_rate.pm
@@ -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;

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/tax_rate.pm |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)




More information about the freeside-commits mailing list