Merge branch 'master' of github.com:webnotes/erpnext

This commit is contained in:
Rushabh Mehta 2012-10-03 12:22:34 +05:30
commit 204ddefe61

View File

@ -0,0 +1,9 @@
def execute():
import webnotes
vouchers = webnotes.conn.sql("""
select parent from `tabPurchase Taxes and Charges`
where modified >= '2012-10-02'
and (category = 'Total' or category = 'Valuation')
and parenttype != 'Purchase Taxes and Charges Master'
""")
print vouchers