[FIX] Automated Action rule (register_hook)

bzr revid: api@openerp.com-20121126125142-9gpsupy7617vddya
This commit is contained in:
Arnaud Pineux 2012-11-26 13:51:42 +01:00
parent 3e3135f1bc
commit 8474567cdf
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ trigger date, like sending a reminder 15 minutes before a meeting."),
This Function is call by scheduler.
"""
rule_ids = self.search(cr, uid, [], context=context)
self._register_hook(cr, uid, rule_ids, context=context)
self._register_hook(cr)
if context is None:
context = {}
for rule in self.browse(cr, uid, rule_ids, context=context):