commit | 34a5cb9106db34fccb4eb570d7ea81f61926eb3b | [log] [tgz] |
---|---|---|
author | Noah Jacob <noahjacobkurian@gmail.com> | Fri Jul 02 22:02:07 2021 +0530 |
committer | Noah Jacob <noahjacobkurian@gmail.com> | Mon Jul 12 08:48:04 2021 +0530 |
tree | e427317cf35d026ca7ea53e8b6d7d4b6a6570479 | |
parent | 8db974b1b9304a53d402b14672f1306d9c64ca3c [diff] |
fix: Sider
diff --git a/erpnext/buying/doctype/supplier/supplier.js b/erpnext/buying/doctype/supplier/supplier.js index af6401b..1766c2c 100644 --- a/erpnext/buying/doctype/supplier/supplier.js +++ b/erpnext/buying/doctype/supplier/supplier.js
@@ -72,8 +72,8 @@ frappe.call({ method: "get_supplier_group_details", doc: frm.doc, - callback: function(r){ - frm.refresh() + callback: function() { + frm.refresh(); } }); },
diff --git a/erpnext/selling/doctype/customer/customer.js b/erpnext/selling/doctype/customer/customer.js index 91944ad..2849466 100644 --- a/erpnext/selling/doctype/customer/customer.js +++ b/erpnext/selling/doctype/customer/customer.js
@@ -153,8 +153,8 @@ frappe.call({ method: "get_customer_group_details", doc: frm.doc, - callback: function(r){ - frm.refresh() + callback: function() { + frm.refresh(); } });