find wrong vouchers

This commit is contained in:
Nabin Hait 2012-10-03 14:47:41 +05:30
parent f3a7f347c2
commit 1f33e46e34

View File

@ -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'