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