mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-01 15:47:06 +00:00
[fix] sales_partner.js, fixes #7553
This commit is contained in:
@@ -5,7 +5,7 @@ frappe.ui.form.on('Sales Partner', {
|
||||
refresh: function(frm) {
|
||||
frappe.dynamic_link = {doc: frm.doc, fieldname: 'name', doctype: 'Sales Person'}
|
||||
|
||||
if(doc.__islocal){
|
||||
if(frm.doc.__islocal){
|
||||
hide_field(['address_html', 'contact_html']);
|
||||
erpnext.utils.clear_address_and_contact(frm);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user