openerp-dev-web team mailing list archive
-
openerp-dev-web team
-
Mailing list archive
-
Message #01237
Re: [Merge] lp:~openerp-commiter/openobject-addons/rha-dev-addons2 into lp:~openerp-dev/openobject-addons/trunk-dev-addons2
Why remove the translation on Error exception ?
--- account/account_cash_statement.py 2010-11-22 11:03:34 +0000
> +++ account/account_cash_statement.py 2010-12-13 10:11:21 +0000
> @@ -246,7 +246,7 @@
> ]
> open_jrnl = self.search(cr, uid, sql)
> if open_jrnl:
> - raise osv.except_osv(_('Error'), _('You can not have two open
> register for the same journal'))
> + raise osv.except_osv('Error', _('You can not have two open
> register for the same journal'))
>
> if self.pool.get('account.journal').browse(cr, uid,
> vals['journal_id']).type == 'cash':
> open_close = self._get_cash_open_close_box_lines(cr, uid,
> context)
>
Niels Huylebroeck
Bubbles-IT
Tel. : +32 (0)9 328 33 88
Fax. : +32 (0)9 328 33 77
Web : http://www.bubbles-it.be
--
https://code.launchpad.net/~openerp-commiter/openobject-addons/rha-dev-addons2/+merge/43504
Your team OpenERP R&D Team is requested to review the proposed merge of lp:~openerp-commiter/openobject-addons/rha-dev-addons2 into lp:~openerp-dev/openobject-addons/trunk-dev-addons2.
References