chore: linter

This commit is contained in:
s-aga-r
2023-01-12 13:41:53 +05:30
parent f028bd6e69
commit b26e96cdf4
2 changed files with 12 additions and 6 deletions

View File

@@ -199,7 +199,7 @@ class SubcontractingReceipt(SubcontractingController):
for item in self.items:
if not (item.qty or item.rejected_qty):
frappe.throw(
_(f"Row {item.idx}: Accepted Qty and Rejected Qty can't be zero at the same time.")
_("Row {0}: Accepted Qty and Rejected Qty can't be zero at the same time.").format(item.idx)
)
def set_items_bom(self):