mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 23:52:57 +00:00
update modified date of JV through bank reconciliation
This commit is contained in:
@@ -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")
|
||||
Reference in New Issue
Block a user