From 430734a449b636610ad9b48a91c09aec98758b5a Mon Sep 17 00:00:00 2001 From: "Divyesh Makwana (Open ERP)" Date: Tue, 13 Dec 2011 10:11:48 +0530 Subject: [PATCH] [IMP] account : Improved the error message bzr revid: mdi@tinyerp.com-20111213044148-c98n11r8vta387i8 --- addons/account/wizard/account_period_close.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/wizard/account_period_close.py b/addons/account/wizard/account_period_close.py index 5217b119939..fecf43f07ab 100644 --- a/addons/account/wizard/account_period_close.py +++ b/addons/account/wizard/account_period_close.py @@ -48,7 +48,7 @@ class account_period_close(osv.osv_memory): for id in context['active_ids']: account_move_ids = account_move_obj.search(cr, uid, [('period_id', '=', id), ('state', '=', "draft")], context=context) if account_move_ids: - raise osv.except_osv(_('Invalid action !'), _('In order to close a period, you must first post related journal items.')) + raise osv.except_osv(_('Invalid action !'), _('In order to close a period, you must first post related journal entries.')) cr.execute('update account_journal_period set state=%s where period_id=%s', (mode, id)) cr.execute('update account_period set state=%s where id=%s', (mode, id))