fix: linters

(cherry picked from commit 3697ba0772)
This commit is contained in:
mahsem
2025-01-19 21:00:02 +01:00
committed by Mergify
parent e4f09ce543
commit 61303db16d

View File

@@ -204,9 +204,7 @@ 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()