openerp-dev-web team mailing list archive
-
openerp-dev-web team
-
Mailing list archive
-
Message #03803
[Merge] lp:~openerp-dev/openobject-addons/trunk-bug-730562-xrg into lp:openobject-addons
xrg has proposed merging lp:~openerp-dev/openobject-addons/trunk-bug-730562-xrg into lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
#730562 account/invoice: improve one exception message.
https://bugs.launchpad.net/bugs/730562
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-730562-xrg/+merge/52419
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-730562-xrg/+merge/52419
Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-bug-730562-xrg.
=== modified file 'account/invoice.py'
--- account/invoice.py 2011-03-03 17:07:00 +0000
+++ account/invoice.py 2011-03-07 14:21:20 +0000
@@ -547,7 +547,10 @@
if r[1] == 'journal_id' and r[2] in journal_ids:
val['journal_id'] = r[2]
if not val.get('journal_id', False):
- raise osv.except_osv(_('Configuration Error !'), (_('Can\'t find any account journal of %s type for this company.\n\nYou can create one in the menu: \nConfiguration\Financial Accounting\Accounts\Journals.') % (journal_type)))
+ raise osv.except_osv(_('Configuration Error !'),
+ (_('Can\'t find any account journal of %s type for this company.\n\n'
+ 'You can create one in the menu: \nConfiguration/Financial Accounting/Accounts/Journals.') % \
+ (journal_type)))
dom = {'journal_id': [('id', 'in', journal_ids)]}
else:
journal_ids = obj_journal.search(cr, uid, [])
Follow ups