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