[FIX] account: [trunk][account] useless variable in button_confirm_bank

lp bug: https://launchpad.net/bugs/707404 fixed

bzr revid: ara@tinyerp.com-20110127053937-sbk2lu0qle04w60x
This commit is contained in:
ARA (OpenERP) 2011-01-27 11:09:37 +05:30
parent 803bf74466
commit 2add57ba57
1 changed files with 0 additions and 2 deletions

View File

@ -314,7 +314,6 @@ class account_bank_statement(osv.osv):
return state=='draft'
def button_confirm_bank(self, cr, uid, ids, context=None):
done = []
obj_seq = self.pool.get('ir.sequence')
if context is None:
context = {}
@ -355,7 +354,6 @@ class account_bank_statement(osv.osv):
self.write(cr, uid, [st.id], {'name': st_number}, context=context)
self.log(cr, uid, st.id, _('Statement %s is confirmed, journal items are created.') % (st_number,))
done.append(st.id)
return self.write(cr, uid, ids, {'state':'confirm'}, context=context)
def button_cancel(self, cr, uid, ids, context=None):