From 1f33e46e344b90cde620a72978934cafed9d6b43 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 3 Oct 2012 14:47:41 +0530 Subject: [PATCH] find wrong vouchers --- patches/october_2012/find_wrong_voucher.py | 1 + 1 file changed, 1 insertion(+) diff --git a/patches/october_2012/find_wrong_voucher.py b/patches/october_2012/find_wrong_voucher.py index d2374adb21..ca612f3256 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'