Merge pull request #6789 from savoirfairelinux/7.0-fix_account_move_line_exception_translation

[FIX] incorrect translation marking
This commit is contained in:
xmo-odoo 2015-05-21 10:14:40 +02:00
commit 6de6662ecb
1 changed files with 1 additions and 1 deletions

View File

@ -1127,7 +1127,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 ''),