[freeside-commits] branch FREESIDE_2_3_BRANCH updated. e187ad1e7009765291e1a3fdfcc7d7365139b184
Ivan
ivan at 420.am
Wed Aug 8 00:38:35 PDT 2012
The branch, FREESIDE_2_3_BRANCH has been updated
via e187ad1e7009765291e1a3fdfcc7d7365139b184 (commit)
from 77120fa89e7e76c0f85a4245d52d733fcf489a2a (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 e187ad1e7009765291e1a3fdfcc7d7365139b184
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed Aug 8 00:38:34 2012 -0700
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 a5a623d..6c65bd4 100644
--- a/FS/FS/tax_rate.pm
+++ b/FS/FS/tax_rate.pm
@@ -826,6 +826,9 @@ 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, 3 insertions(+), 0 deletions(-)
More information about the freeside-commits
mailing list