[FIX] Automated Action rule (register_hook)
bzr revid: api@openerp.com-20121126125142-9gpsupy7617vddya
This commit is contained in:
parent
3e3135f1bc
commit
8474567cdf
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue