Update accounts_controller.py
This commit is contained in:
parent
c77bd82083
commit
659a01d819
@ -392,7 +392,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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user