From a9abb64de844f1cdcad3a4761b26b30bcc9e1b11 Mon Sep 17 00:00:00 2001 From: "Guewen Baconnier @ Camptocamp" Date: Thu, 21 Jun 2012 14:50:21 +0200 Subject: [PATCH] [FIX] syntax (lp:c2c-financial-addons/6.1 rev 24.1.28) --- account_statement_transactionid_completion/statement.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/account_statement_transactionid_completion/statement.py b/account_statement_transactionid_completion/statement.py index db793333..036bf65b 100644 --- a/account_statement_transactionid_completion/statement.py +++ b/account_statement_transactionid_completion/statement.py @@ -31,8 +31,9 @@ class AccountStatementCompletionRule(Model): _inherit = "account.statement.completion.rule" - def _get_functions(self): - res = super (self,AccountStatementCompletionRule)._get_functions() + def _get_functions(self, cr, uid, context=None): + res = super (AccountStatementCompletionRule, self)._get_functions( + cr, uid, context=context) res.append(('get_from_transaction_id_and_so', 'From line reference (based on SO transaction ID')) return res