fix: linters

This commit is contained in:
mahsem
2025-01-19 21:00:02 +01:00
committed by GitHub
parent 1d81a9f933
commit 3697ba0772

View File

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