Pinakin Nayi (OpenERP) has proposed merging
lp:~openerp-commiter/openobject-addons/trunk-exception-warning-imp-dbr-account_coda-pna
into lp:~openerp-dev/openobject-addons/trunk-exception-warning-imp-dbr.
Requested reviews:
Kuldeep Joshi(OpenERP) (kjo-openerp)
For more details, see:
https://code.launchpad.net/~openerp-commiter/openobject-addons/trunk-exception-warning-imp-dbr-account_coda-pna/+merge/114838
Hello ,
I improved Exceptions, Constraint errors and Warning message of
account_coda,auth_openid.
Thanks,
pna
--
https://code.launchpad.net/~openerp-commiter/openobject-addons/trunk-exception-warning-imp-dbr-account_coda-pna/+merge/114838
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-exception-warning-imp-dbr.
=== modified file 'account_coda/wizard/account_coda_import.py'
--- account_coda/wizard/account_coda_import.py 2012-06-22 06:48:54 +0000
+++ account_coda/wizard/account_coda_import.py 2012-07-13 11:26:21 +0000
@@ -889,19 +889,19 @@
nb_err += 1
err_string += _('\nError ! ') + str(e)
tb = ''.join(format_exception(*exc_info()))
- _logger.error('Application Error while processing Statement %s\n%s' % (statement.get('name', '/'),tb))
+ _logger.error('Application Error while processing Statement %s\n%s.' % (statement.get('name', '/'),tb))
except Exception, e:
cr.rollback()
nb_err += 1
err_string += _('\nSystem Error : ') + str(e)
tb = ''.join(format_exception(*exc_info()))
- _logger.error('System Error while processing Statement %s\n%s' % (statement.get('name', '/'),tb))
+ _logger.error('System Error while processing Statement %s\n%s.' % (statement.get('name', '/'),tb))
except :
cr.rollback()
nb_err += 1
err_string = _('\nUnknown Error : ') + str(e)
tb = ''.join(format_exception(*exc_info()))
- _logger.error('Unknown Error while processing Statement %s\n%s' % (statement.get('name', '/'),tb))
+ _logger.error('Unknown Error while processing Statement %s\n%s.' % (statement.get('name', '/'),tb))
# end 'for statement in coda_statements'
=== modified file 'analytic_user_function/analytic_user_function.py'
--- analytic_user_function/analytic_user_function.py 2011-12-19 16:54:40 +0000
+++ analytic_user_function/analytic_user_function.py 2012-07-13 11:26:21 +0000
@@ -94,7 +94,7 @@
if not a:
raise osv.except_osv(_('Error !'),
_('There is no expense account define ' \
- 'for this product: "%s" (id:%d)') % \
+ 'for this product: "%s" (id:%d).') % \
(r.product_id.name, r.product_id.id,))
# Compute based on pricetype
if unit_amount:
@@ -129,7 +129,7 @@
if not a:
raise osv.except_osv(_('Error !'),
_('There is no expense account define ' \
- 'for this product: "%s" (id:%d)') % \
+ 'for this product: "%s" (id:%d).') % \
(r.product_id.name, r.product_id.id,))
# Compute based on pricetype
if unit_amount:
=== modified file 'analytic_user_function/i18n/analytic_user_function.pot'
--- analytic_user_function/i18n/analytic_user_function.pot 2012-02-08 01:08:30 +0000
+++ analytic_user_function/i18n/analytic_user_function.pot 2012-07-13 11:26:21 +0000
@@ -51,7 +51,7 @@
#: code:addons/analytic_user_function/analytic_user_function.py:96
#: code:addons/analytic_user_function/analytic_user_function.py:131
#, python-format
-msgid "There is no expense account define for this product: \"%s\" (id:%d)"
+msgid "There is no expense account define for this product: \"%s\" (id:%d)."
msgstr ""
#. module: analytic_user_function
=== modified file 'auth_openid/controllers/main.py'
--- auth_openid/controllers/main.py 2012-06-22 06:48:54 +0000
+++ auth_openid/controllers/main.py 2012-07-13 11:26:21 +0000
@@ -129,11 +129,11 @@
try:
request = oidconsumer.begin(url)
except consumer.DiscoveryFailure, exc:
- fetch_error_string = 'Error in discovery: %s' % (str(exc[0]),)
+ fetch_error_string = 'Error in discovery: %s.' % (str(exc[0]),)
return {'error': fetch_error_string, 'title': 'OpenID Error'}
if request is None:
- return {'error': 'No OpenID services found', 'title': 'OpenID Error'}
+ return {'error': 'No OpenID services found.', 'title': 'OpenID Error'}
req.session.openid_session = session
self._add_extensions(request)
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp