From ad99934b4c8b384e69499ae713842b4e5de7036f Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Mon, 1 Jul 2019 15:16:10 +0530 Subject: [PATCH] Update accounts_controller.py --- erpnext/controllers/accounts_controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/controllers/accounts_controller.py b/erpnext/controllers/accounts_controller.py index 79695732683..b98fbf42cdd 100644 --- a/erpnext/controllers/accounts_controller.py +++ b/erpnext/controllers/accounts_controller.py @@ -374,7 +374,7 @@ class AccountsController(TransactionBase): def validate_qty_is_not_zero(self): for item in self.items: if not item.qty: - frappe.throw("Item quantity can not be zero") + frappe.throw(_("Item quantity can not be zero")) def validate_account_currency(self, account, account_currency=None): valid_currency = [self.company_currency]