[FIX] account: error message not translated

This commit is contained in:
Martin Trigaux 2015-02-04 14:28:10 +01:00
parent a08b9c2c41
commit 16374dfa33
1 changed files with 1 additions and 1 deletions

View File

@ -1217,7 +1217,7 @@ class account_move_line(osv.osv):
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 ''),