Skip to content

Commit

Permalink
[FIX] account: error message not translated
Browse files Browse the repository at this point in the history
  • Loading branch information
mart-e committed Feb 4, 2015
1 parent a08b9c2 commit 16374df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/account/account_move_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,7 @@ def _update_journal_check(self, cr, uid, journal_id, period_id, context=None):
period = period_obj.browse(cr, uid, period_id, context=context)
for (state,) in result:
if state == 'done':
raise osv.except_osv(_('Error!'), _('You can not add/modify entries in a closed period %s of journal %s.' % (period.name,journal.name)))
raise osv.except_osv(_('Error!'), _('You can not add/modify entries in a closed period %s of journal %s.') % (period.name,journal.name))
if not result:
jour_period_obj.create(cr, uid, {
'name': (journal.code or journal.name)+':'+(period.name or ''),
Expand Down

0 comments on commit 16374df

Please sign in to comment.