update modified date of JV through bank reconciliation
This commit is contained in:
parent
43a3a619b3
commit
3df2859299
@ -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")
|
||||||
Loading…
x
Reference in New Issue
Block a user