Xavier ALT (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/6.1-opw-51075-xal into
lp:openobject-addons/6.1.
Requested reviews:
OpenERP R&D Team (openerp-dev)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-51075-xal/+merge/96176
Hi,
This is a forward-port of OPW 51075.
Display a usefull message when reconciling entries with have already been
reconciled.
Note: Without, it make things unusable if that case happen; i.e impossible to
find out the cause of the problem
Thanks,
Xavier
--
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-51075-xal/+merge/96176
Your team OpenERP R&D Team is requested to review the proposed merge of
lp:~openerp-dev/openobject-addons/6.1-opw-51075-xal into
lp:openobject-addons/6.1.
=== 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-03-06 16:45:27 +0000
@@ -751,7 +751,7 @@
else:
currency_id = line.company_id.currency_id
if line.reconcile_id:
- raise osv.except_osv(_('Warning'), _('Already Reconciled!'))
+ raise osv.except_osv(_('Warning'), _("Journal Item '%s' (id: %s), Move '%s' is already reconciled!") % (line.name, line.id, line.move_id.name))
if line.reconcile_partial_id:
for line2 in line.reconcile_partial_id.line_partial_ids:
if not line2.reconcile_id:
_______________________________________________
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