account_move_line.transaction_ref is now in base_transaction_id. We do no longer want the ref in transaction_ref

This commit is contained in:
Guewen Baconnier
2014-01-16 14:36:36 +01:00
parent 329b3f239b
commit dadde06c9b
4 changed files with 8 additions and 63 deletions

View File

@@ -163,12 +163,12 @@ class AccountBankStatement(Model):
:return: dict of value to create() the account.move.line
"""
res = super(AccountBankStatement, self)._prepare_move_line_vals(
cr, uid, st_line, move_id, debit, credit,
currency_id=currency_id,
amount_currency=amount_currency,
account_id=account_id,
analytic_id=analytic_id,
partner_id=partner_id, context=context)
cr, uid, st_line, move_id, debit, credit,
currency_id=currency_id,
amount_currency=amount_currency,
account_id=account_id,
analytic_id=analytic_id,
partner_id=partner_id, context=context)
if st_line.transaction_ref:
res['transaction_ref'] = st_line.transaction_ref
return res