mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-01 23:53:21 +00:00
Fixes update_after_submit validation errors
This commit is contained in:
@@ -56,4 +56,5 @@ class TimeLogBatch(Document):
|
||||
tl = frappe.get_doc("Time Log", d.time_log)
|
||||
tl.time_log_batch = time_log_batch
|
||||
tl.sales_invoice = self.sales_invoice
|
||||
tl.ignore_validate_update_after_submit = True
|
||||
tl.save()
|
||||
|
||||
Reference in New Issue
Block a user