patch for resetting payment reconciliation values

This commit is contained in:
Nabin Hait
2013-02-01 14:23:22 +05:30
parent 298b334cb6
commit c40a64a634
2 changed files with 8 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
def execute():
import webnotes
webnotes.conn.sql("""update `tabSingles` set value = ''
where doctype = 'Payment to Invoice Matching Tool'
and field in ('account', 'voucher_no', 'total_amount', 'pending_amt_to_reconcile',
'from_date', 'to_date', 'amt_greater_than', 'amt_less_than')""")