Update customer.js
This commit is contained in:
parent
0c9a99a953
commit
2056ea6fb4
@ -44,13 +44,13 @@ frappe.ui.form.on("Customer", {
|
||||
},
|
||||
customer_primary_address: function(frm){
|
||||
if(!frm.doc.customer_primary_address){
|
||||
frm.doc.primary_address = "";
|
||||
frm.set_value("primary_address", "");
|
||||
}
|
||||
},
|
||||
customer_primary_contact: function(frm){
|
||||
if(!frm.doc.customer_primary_contact){
|
||||
frm.doc.mobile_no = "";
|
||||
frm.doc.email_id = "";
|
||||
frm.set_value("mobile_no", "");
|
||||
frm.set_value("email_id", "");
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user