diff --git a/addons/gamification/badge.py b/addons/gamification/badge.py index bb958d7d4b4..1ee779880d6 100644 --- a/addons/gamification/badge.py +++ b/addons/gamification/badge.py @@ -228,7 +228,7 @@ class gamification_badge(osv.Model): return res - def _cron_check(self, cr, uid, context): + def _cron_check(self, cr, uid, context=None): """Run cron on all automatic goals""" ids = self.search(cr, uid, [('rule_automatic', '!=', 'manual')], context=context) self.check_automatic(cr, uid, ids, context=context)