mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
fix: linter format string after translation
This commit is contained in:
committed by
marination
parent
ea6d6e31b3
commit
53d8168dea
@@ -56,7 +56,7 @@ class Quotation(SellingController):
|
|||||||
|
|
||||||
for item in self.items:
|
for item in self.items:
|
||||||
if not frappe.db.exists("Website Item", {"item_code": item.item_code}):
|
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):
|
def has_sales_order(self):
|
||||||
return frappe.db.get_value("Sales Order Item", {"prevdoc_docname": self.name, "docstatus": 1})
|
return frappe.db.get_value("Sales Order Item", {"prevdoc_docname": self.name, "docstatus": 1})
|
||||||
|
|||||||
Reference in New Issue
Block a user