remove:unnecessary translation

Co-Authored-By: Shivam Mishra <scmmishra@users.noreply.github.com>
This commit is contained in:
Pranav Nachnekar
2019-10-09 08:23:54 +00:00
committed by GitHub
parent 1f1b7eb7d5
commit 5e4ec85574

View File

@@ -4,7 +4,7 @@
frappe.ui.form.on('Appointment', {
refresh: function(frm) {
if(frm.doc.lead){
frm.add_custom_button(__(frm.doc.lead),()=>{
frm.add_custom_button(frm.doc.lead,()=>{
frappe.set_route("Form","Lead",frm.doc.lead);
});
}