@@ -12,7 +12,7 @@ frappe.ui.form.on("Accounts Settings", {
|
||||
msg += " ";
|
||||
msg += __("Please enable only if the understand the effects of enabling this.");
|
||||
msg += "<br>";
|
||||
msg += "Do you still want to enable immutable ledger?";
|
||||
msg += __("Do you still want to enable immutable ledger?");
|
||||
|
||||
frappe.confirm(
|
||||
msg,
|
||||
|
||||
@@ -29,7 +29,7 @@ frappe.ui.form.on("Plaid Settings", {
|
||||
"Bank Transaction",
|
||||
"",
|
||||
true,
|
||||
"Bank Transaction"
|
||||
__("Bank Transaction")
|
||||
);
|
||||
|
||||
frappe.msgprint({
|
||||
|
||||
@@ -204,7 +204,9 @@ class BOMCreator(Document):
|
||||
|
||||
for field, label in fields.items():
|
||||
if not self.get(field):
|
||||
frappe.throw(_("Please set {0} in BOM Creator {1}").format(label, self.name))
|
||||
frappe.throw(
|
||||
_("Please set {0} in BOM Creator {1}").format(_(label), self.name)
|
||||
)
|
||||
|
||||
def on_submit(self):
|
||||
self.enqueue_create_boms()
|
||||
|
||||
Reference in New Issue
Block a user