diff --git a/patches/october_2012/find_wrong_voucher.py b/patches/october_2012/find_wrong_voucher.py index d2374adb21a..ca612f3256c 100644 --- a/patches/october_2012/find_wrong_voucher.py +++ b/patches/october_2012/find_wrong_voucher.py @@ -1,5 +1,6 @@ def execute(): import webnotes + from webnotes.utils import flt vouchers = webnotes.conn.sql(""" select parent, parenttype, modified, sum(tax_amount) as tax from `tabPurchase Taxes and Charges` where modified >= '2012-07-12'