mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 19:59:12 +00:00
Merge pull request #4281 from nabinhait/address_fix
[fix] Clear addressed and contacts on a new form
This commit is contained in:
@@ -14,6 +14,8 @@ frappe.ui.form.on("Customer", "refresh", function(frm) {
|
||||
|
||||
if(!frm.doc.__islocal) {
|
||||
erpnext.utils.render_address_and_contact(frm);
|
||||
} else {
|
||||
erpnext.utils.clear_address_and_contact(frm);
|
||||
}
|
||||
|
||||
var grid = cur_frm.get_field("sales_team").grid;
|
||||
|
||||
Reference in New Issue
Block a user