[FIX] Account: Bank statement

bzr revid: mra@mra-laptop-20100930053540-7fshnc4q1l1kydgz
This commit is contained in:
Mustufa Rangwala
2010-09-30 11:05:40 +05:30
parent f7e308ab52
commit e87753d2e9
+1 -1
View File
@@ -375,7 +375,7 @@ class account_bank_statement(osv.osv):
if not st_line.amount:
continue
st_line_number = self.get_next_st_line_number(cr, uid, st_number, st_line, context)
self.create_move_from_st_line(cr, uid, st_line.id, company_currency_id, st_line_number, context)
self.create_move_from_st_line(cr, uid, st_line, company_currency_id, st_line_number, context)
self.write(cr, uid, [st.id], {'name': st_number}, context=context)
self.log(cr, uid, st.id, 'Statement %s is confirmed and entries are created.' % st_number)