[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:
parent
803bf74466
commit
2add57ba57
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue