[IMP] account: log for bank statement

bzr revid: tpa@tinyerp.com-20120508114700-7p20gun98zfo1s9v
This commit is contained in:
Turkesh Patel (Open ERP) 2012-05-08 17:17:00 +05:30
parent 10d3532d27
commit f6e8993e3f
1 changed files with 1 additions and 1 deletions

View File

@ -365,7 +365,7 @@ class account_bank_statement(osv.osv):
'name': st_number,
'balance_end_real': st.balance_end
}, context=context)
self.log(cr, uid, st.id, _('Statement %s is confirmed, journal items are created.') % (st_number,))
self.message_append_note(cr, uid, ids, body=_('Statement %s is confirmed, journal items are created.') % (st_number,), context=context)
return self.write(cr, uid, ids, {'state':'confirm'}, context=context)
def button_cancel(self, cr, uid, ids, context=None):