I cant able to see under Address&Contact fields in Section break in Opportunity doctype

Hi All,
in opportunity doctype renamed as “Deal” i want to see the fields before saving the opportunity in Address&Contact Section but it is showing after saving the opportunity i need solution


Thanks in Advance

@satyamsathya978 change code in opportunity js file so resolve your problem remove this code and put in the

party: function(frm){
        frappe.contacts.clear_address_and_contact(frm);
}

im not a backend developer so i cant have the access of developer mode im a front end developer so can u tell me the clientscript for this or any other ways in customize form please

You can do it using the client script.

show customization screenshot

@satyamsathya978 Please go to client script doctype and add this and try it


but is showing only after saving the opportunity

It did not work because it’s an HTML field, and it will appear when you create an address from a saved doctype, not a new doctype.

1 Like