Merge pull request #38411 from frappe/mergify/bp/version-15-hotfix/pr-38165

fix: make create button translatable (backport #38165)
This commit is contained in:
rohitwaghchaure 2023-11-29 13:05:03 +05:30 committed by GitHub
commit d0f1dec573
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ frappe.ui.form.on("Communication", {
frappe.confirm(__(confirm_msg, [__("Issue")]), () => {
frm.trigger('make_issue_from_communication');
})
}, "Create");
}, __("Create"));
}
if(!in_list(["Lead", "Opportunity"], frm.doc.reference_doctype)) {