projects
/
odoo
/
odoo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[FIX] base_action_rule: prevent recursive rule trigger also when processing time...
[odoo/odoo.git]
/
addons
/
base_action_rule
/
base_action_rule.py
diff --git
a/addons/base_action_rule/base_action_rule.py
b/addons/base_action_rule/base_action_rule.py
index
2488ebc
..
a6793e9
100644
(file)
--- a/
addons/base_action_rule/base_action_rule.py
+++ b/
addons/base_action_rule/base_action_rule.py
@@
-273,6
+273,7
@@
class base_action_rule(osv.osv):
action_dt = get_datetime(record_dt) + delay
if last_run <= action_dt < now:
try:
+ context = dict(context or {}, action=True)
self._process(cr, uid, action, [record.id], context=context)
except Exception:
import traceback