Anupam Kumar
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
1 deletions
-
erpnext/selling/doctype/customer/customer.js
-
erpnext/selling/doctype/customer/customer.json
|
|
@ -111,7 +111,6 @@ frappe.ui.form.on("Customer", { |
|
|
|
} |
|
|
|
|
|
|
|
frappe.dynamic_link = {doc: frm.doc, fieldname: 'name', doctype: 'Customer'} |
|
|
|
frm.toggle_display(['address_html','contact_html'], !frm.doc.__islocal); |
|
|
|
|
|
|
|
if(!frm.doc.__islocal) { |
|
|
|
frappe.contacts.render_address_and_contact(frm); |
|
|
|
|
|
@ -268,6 +268,7 @@ |
|
|
|
"options": "fa fa-map-marker" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"depends_on": "eval: !doc.__islocal", |
|
|
|
"fieldname": "address_html", |
|
|
|
"fieldtype": "HTML", |
|
|
|
"label": "Address HTML", |
|
|
@ -284,6 +285,7 @@ |
|
|
|
"width": "50%" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"depends_on": "eval: !doc.__islocal", |
|
|
|
"fieldname": "contact_html", |
|
|
|
"fieldtype": "HTML", |
|
|
|
"label": "Contact HTML", |
|
|
|