[FIX] syntax

(lp:c2c-financial-addons/6.1 rev 24.1.28)
This commit is contained in:
Guewen Baconnier @ Camptocamp
2012-06-21 14:50:21 +02:00
parent 2a6f881892
commit a9abb64de8

View File

@@ -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