From 17a3813ab753fff4f72e89cb6403c01c4b7a6a46 Mon Sep 17 00:00:00 2001 From: Guewen Baconnier Date: Thu, 16 Jan 2014 16:58:06 +0100 Subject: [PATCH] [FIX] field name --- account_statement_transactionid_completion/statement.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/account_statement_transactionid_completion/statement.py b/account_statement_transactionid_completion/statement.py index 857d0607..f283e12e 100644 --- a/account_statement_transactionid_completion/statement.py +++ b/account_statement_transactionid_completion/statement.py @@ -173,7 +173,6 @@ class AccountBankStatement(Model): 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 + if st_line.transaction_id: + res['transaction_ref'] = st_line.transaction_id return res -