mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-13 11:55:11 +00:00
find wrong vouchers
This commit is contained in:
@@ -2,8 +2,8 @@ def execute():
|
||||
import webnotes
|
||||
vouchers = webnotes.conn.sql("""
|
||||
select parent, parenttype, modified from `tabPurchase Taxes and Charges`
|
||||
where modified >= '2012-10-02'
|
||||
and (category = 'Total' or category = 'Valuation')
|
||||
where modified >= '2012-07-12'
|
||||
and category = 'Valuation' and tax_amount != 0
|
||||
and parenttype != 'Purchase Taxes and Charges Master'
|
||||
""")
|
||||
print vouchers
|
||||
Reference in New Issue
Block a user