mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 20:59:11 +00:00
Fix translate Lead.js
This commit is contained in:
@@ -36,9 +36,9 @@ erpnext.LeadController = wn.ui.form.Controller.extend({
|
|||||||
|
|
||||||
this.frm.__is_customer = this.frm.__is_customer || this.frm.doc.__is_customer;
|
this.frm.__is_customer = this.frm.__is_customer || this.frm.doc.__is_customer;
|
||||||
if(!this.frm.doc.__islocal && !this.frm.__is_customer) {
|
if(!this.frm.doc.__islocal && !this.frm.__is_customer) {
|
||||||
this.frm.add_custom_button("Create Customer", this.create_customer);
|
this.frm.add_custom_button(wn._("Create Customer"), this.create_customer);
|
||||||
this.frm.add_custom_button("Create Opportunity", this.create_opportunity);
|
this.frm.add_custom_button(wn._("Create Opportunity"), this.create_opportunity);
|
||||||
this.frm.add_custom_button("Send SMS", this.frm.cscript.send_sms);
|
this.frm.add_custom_button(wn._("Send SMS"), this.frm.cscript.send_sms);
|
||||||
}
|
}
|
||||||
|
|
||||||
cur_frm.communication_view = new wn.views.CommunicationList({
|
cur_frm.communication_view = new wn.views.CommunicationList({
|
||||||
|
|||||||
Reference in New Issue
Block a user