Jignesh Rathod(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-944317-jir into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
Bug #944317 in OpenERP Addons: "[account] Message 'You can not add/modify
entries in a closed journal.' in _update_journal_check method is confusing"
https://bugs.launchpad.net/openobject-addons/+bug/944317
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-944317-jir/+merge/104250
Hello ,
correcting wrong warning message in _update_journal_check method when
period is closed.
Thanks.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-944317-jir/+merge/104250
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-944317-jir.
=== modified file 'account/account_move_line.py'
--- account/account_move_line.py 2012-02-13 18:07:41 +0000
+++ account/account_move_line.py 2012-05-01 13:41:17 +0000
@@ -1188,7 +1188,7 @@
result = cr.fetchall()
for (state,) in result:
if state == 'done':
- raise osv.except_osv(_('Error !'), _('You can not add/modify entries in a closed journal.'))
+ raise osv.except_osv(_('Error !'), _('You can not add/modify entries in a journal which period is already closed.'))
if not result:
journal = journal_obj.browse(cr, uid, journal_id, context=context)
period = period_obj.browse(cr, uid, period_id, context=context)
_______________________________________________
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