mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +00:00
frappe/frappe#478, fixed list passed in
This commit is contained in:
@@ -77,7 +77,7 @@ def save_entries(gl_map, adv_adj, update_outstanding):
|
||||
|
||||
def make_entry(args, adv_adj, update_outstanding):
|
||||
args.update({"doctype": "GL Entry"})
|
||||
gle = frappe.get_doc([args])
|
||||
gle = frappe.get_doc(args)
|
||||
gle.ignore_permissions = 1
|
||||
gle.insert()
|
||||
gle.run_method("on_update_with_args", adv_adj, update_outstanding)
|
||||
|
||||
Reference in New Issue
Block a user