mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 20:59:11 +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):
|
def update_details(self):
|
||||||
for d in getlist(self.doclist, 'entries'):
|
for d in getlist(self.doclist, 'entries'):
|
||||||
if d.clearance_date:
|
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")
|
msgprint("Updated")
|
||||||
Reference in New Issue
Block a user