update modified date of JV through bank reconciliation

This commit is contained in:
Nabin Hait 2011-07-28 16:01:16 +05:30
parent 43a3a619b3
commit 3df2859299

View File

@ -45,5 +45,5 @@ class DocType:
def update_details(self):
for d in getlist(self.doclist, 'entries'):
if d.clearance_date:
sql("update `tabJournal Voucher` set clearance_date = %s where name=%s", (d.clearance_date, d.voucher_id))
sql("update `tabJournal Voucher` set clearance_date = %s, modified = %s where name=%s", (d.clearance_date, nowdate(), d.voucher_id))
msgprint("Updated")