diff --git a/addons/account/account.py b/addons/account/account.py index 177c01ef015..58b00208482 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -126,7 +126,10 @@ class account_account(osv.osv): _name = "account.account" _description = "Account" - def search(self, cr, uid, args, offset=0, limit=None, order=None, context={}): + def search(self, cr, uid, args, offset=0, limit=None, order=None, + context=None, count=False): + if context is None: + context = {} pos = 0 while pos