[MERGE] OPW 582763: account: improve error message for already reconciled entries
forward-port of v6.0 revid: xal@openerp.com-20120306123612-uk96sxe4z8iub6z2 bzr revid: xal@openerp.com-20130226154928-peisqxf77c7uyxn8
This commit is contained in:
commit
c805a9bdce
|
@ -780,7 +780,7 @@ class account_move_line(osv.osv):
|
|||
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:
|
||||
|
|
Loading…
Reference in New Issue