find wrong vouchers
This commit is contained in:
parent
061141b3b8
commit
bd037ab540
@ -2,8 +2,8 @@ def execute():
|
|||||||
import webnotes
|
import webnotes
|
||||||
vouchers = webnotes.conn.sql("""
|
vouchers = webnotes.conn.sql("""
|
||||||
select parent, parenttype, modified from `tabPurchase Taxes and Charges`
|
select parent, parenttype, modified from `tabPurchase Taxes and Charges`
|
||||||
where modified >= '2012-10-02'
|
where modified >= '2012-07-12'
|
||||||
and (category = 'Total' or category = 'Valuation')
|
and category = 'Valuation' and tax_amount != 0
|
||||||
and parenttype != 'Purchase Taxes and Charges Master'
|
and parenttype != 'Purchase Taxes and Charges Master'
|
||||||
""")
|
""")
|
||||||
print vouchers
|
print vouchers
|
Loading…
Reference in New Issue
Block a user