[FIX] Re-add the call to super in create_move_from_st_line in the voucher module. I removed it by mistake... Thanks to Stefan

bzr revid: joel.grandguillaume@camptocamp.com-20121031125003-0oe3d4ncvmblmc8p
This commit is contained in:
Joël Grand-Guillaume 2012-10-31 13:50:03 +01:00
parent 4e311a1807
commit 516e8697dd
1 changed files with 1 additions and 0 deletions

View File

@ -1532,6 +1532,7 @@ class account_bank_statement(osv.osv):
})
return move_line_obj.write(cr, uid, [x.id for x in v.move_ids], {'statement_id': st_line.statement_id.id}, context=context)
return super(account_bank_statement, self).create_move_from_st_line(cr, uid, st_line.id, company_currency_id, next_number, context=context)
def write(self, cr, uid, ids, vals, context=None):
# We should not be able to change the journal if we already have