fix: Insert instead of DB insert
This commit is contained in:
parent
d1bf6e0277
commit
8230e41a42
@ -140,7 +140,7 @@ def make_entry(args, adv_adj, update_outstanding):
|
|||||||
gle = frappe.new_doc("GL Entry")
|
gle = frappe.new_doc("GL Entry")
|
||||||
gle.update(args)
|
gle.update(args)
|
||||||
gle.flags.ignore_permissions = 1
|
gle.flags.ignore_permissions = 1
|
||||||
gle.db_insert()
|
gle.insert()
|
||||||
gle.run_method("on_update_with_args", adv_adj, update_outstanding)
|
gle.run_method("on_update_with_args", adv_adj, update_outstanding)
|
||||||
gle.submit()
|
gle.submit()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user