From 021a76fac1fa7e4342fb18e74c745a7c30e83b9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Grand-Guillaume?= Date: Thu, 21 Jun 2012 14:18:06 +0200 Subject: [PATCH] [FIX] kwargs before args (lp:c2c-financial-addons/6.1 rev 24.1.26) --- account_statement_transactionid_completion/statement.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_statement_transactionid_completion/statement.py b/account_statement_transactionid_completion/statement.py index 4d25d85e..db793333 100644 --- a/account_statement_transactionid_completion/statement.py +++ b/account_statement_transactionid_completion/statement.py @@ -67,7 +67,7 @@ class AccountStatementCompletionRule(Model): raise ErrorTooManyPartner(_('Line named "%s" was matched by more than one partner.')%(st_line.name,st_line.id)) if so_id: st_vals = st_obj.get_values_for_line(cr, uid, profile_id = st_line.statement_id.profile_id.id, - partner_id = res.get('partner_id',False), line_type = st_line.type, st_line.amount, context) + partner_id = res.get('partner_id',False), line_type = st_line.type, amount = st_line.amount, context=context) res.update(st_vals) return res