From 66adb3c0cfad0921db352e2bdcb65dd47ee97fb9 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 24 Sep 2013 12:10:37 +0530 Subject: [PATCH] [minor] Frozen Accounts Modifier fixes --- accounts/doctype/gl_entry/gl_entry.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/accounts/doctype/gl_entry/gl_entry.py b/accounts/doctype/gl_entry/gl_entry.py index 6b6eb0edd6..c3228e7d10 100644 --- a/accounts/doctype/gl_entry/gl_entry.py +++ b/accounts/doctype/gl_entry/gl_entry.py @@ -119,10 +119,10 @@ class DocType: if not frozen_accounts_modifier: webnotes.throw(self.doc.account + _(" is a frozen account. \ Either make the account active or assign role in Accounts Settings \ - who can do / modify entries against this account")) + who can create / modify entries against this account")) elif frozen_accounts_modifier not in webnotes.user.get_roles(): webnotes.throw(self.doc.account + _(" is a frozen account. ") + - _("To make / edit transactions against this account, you need role") + ": " + + _("To create / edit transactions against this account, you need role") + ": " + frozen_accounts_modifier) def check_freezing_date(self, adv_adj):