fix: linter format string after translation

This commit is contained in:
Devin Slauenwhite 2021-12-31 11:04:11 -05:00 committed by marination
parent ea6d6e31b3
commit 53d8168dea

View File

@ -56,7 +56,7 @@ class Quotation(SellingController):
for item in self.items:
if not frappe.db.exists("Website Item", {"item_code": item.item_code}):
frappe.throw(_("Item {0} must be a website item for Shopping Cart quotations".format(item.item_code)))
frappe.throw(_("Item {0} must be a website item for Shopping Cart quotations").format(item.item_code))
def has_sales_order(self):
return frappe.db.get_value("Sales Order Item", {"prevdoc_docname": self.name, "docstatus": 1})