[MERGE] Account: account cash statement => warning correct for translations and update pot account.pot (ARA branch merged)
bzr revid: mra@mra-laptop-20101028134709-p7eslkdc4u9q4jj2
This commit is contained in:
@@ -327,7 +327,7 @@ class account_cash_statement(osv.osv):
|
||||
for statement in statement_pool.browse(cr, uid, ids, context=context):
|
||||
vals = {}
|
||||
if not self._user_allow(cr, uid, statement.id, context=context):
|
||||
raise osv.except_osv(_('Error !'), _('User %s does not have rights to access %s journal !' % (statement.user_id.name, statement.journal_id.name)))
|
||||
raise osv.except_osv(_('Error !'), (_('User %s does not have rights to access %s journal !') % (statement.user_id.name, statement.journal_id.name)))
|
||||
|
||||
if statement.name and statement.name == '/':
|
||||
number = self.pool.get('ir.sequence').get(cr, uid, 'account.cash.statement')
|
||||
|
||||
@@ -6283,10 +6283,7 @@ msgstr ""
|
||||
#. module: account
|
||||
#: code:addons/account/account_cash_statement.py:0
|
||||
#, python-format
|
||||
msgid "User %s does not have rights to access %s journal !' % (statement.user_id.name, statement.journal_id.name)))\n"
|
||||
"\n"
|
||||
" if statement.name and statement.name == '/':\n"
|
||||
" number = self.pool.get('ir.sequence"
|
||||
msgid "User \"%s\" does not have rights to access \"%s\" journal !"
|
||||
msgstr ""
|
||||
|
||||
#. module: account
|
||||
|
||||
Reference in New Issue
Block a user