chore: Avoid multiline string in Translation & remove print statement

This commit is contained in:
marination
2020-11-02 15:23:41 +05:30
parent 28dd90f3dc
commit 3991b84b2b
2 changed files with 2 additions and 3 deletions

View File

@@ -229,8 +229,8 @@ class StockController(AccountsController):
def check_expense_account(self, item):
if not item.get("expense_account"):
frappe.throw(_("Row #{0}: Expense Account not set for Item {1}. Please set an Expense \
Account in the Items table").format(item.idx, frappe.bold(item.item_code)),
frappe.throw(_("Row #{0}: Expense Account not set for Item {1}. Please set an Expense Account in the Items table")
.format(item.idx, frappe.bold(item.item_code)),
title=_("Expense Account Missing"))
else: