codacy fix

This commit is contained in:
Bhavishya Sharma 2019-07-06 15:02:57 +05:30
parent db3c5625ae
commit 607611ebdc

View File

@ -3,7 +3,7 @@
frappe.ui.form.on('Manufacturer', {
refresh: function(frm) {
frappe.dynamic_link = { doc: frm.doc, fieldname: 'name', doctype: 'Manufacturer' }
frappe.dynamic_link = { doc: frm.doc, fieldname: 'name', doctype: 'Manufacturer' };
if (frm.doc.__islocal) {
hide_field(['address_html','contact_html']);
frappe.contacts.clear_address_and_contact(frm);