mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 12:49:10 +00:00
Update customer.js
This commit is contained in:
@@ -44,13 +44,13 @@ frappe.ui.form.on("Customer", {
|
|||||||
},
|
},
|
||||||
customer_primary_address: function(frm){
|
customer_primary_address: function(frm){
|
||||||
if(!frm.doc.customer_primary_address){
|
if(!frm.doc.customer_primary_address){
|
||||||
frm.doc.primary_address = "";
|
frm.set_value("primary_address", "");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
customer_primary_contact: function(frm){
|
customer_primary_contact: function(frm){
|
||||||
if(!frm.doc.customer_primary_contact){
|
if(!frm.doc.customer_primary_contact){
|
||||||
frm.doc.mobile_no = "";
|
frm.set_value("mobile_no", "");
|
||||||
frm.doc.email_id = "";
|
frm.set_value("email_id", "");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user