projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4a8ef1
)
[FIX] crm helpdesk : Email actions sends outdated data
author
Yann Papouin
<>
Fri, 29 Jul 2011 08:55:09 +0000
(14:25 +0530)
committer
DBR (OpenERP)
<dbr@tinyerp.com>
Fri, 29 Jul 2011 08:55:09 +0000
(14:25 +0530)
lp bug: https://launchpad.net/bugs/801540 fixed
bzr revid: dbr@tinyerp.com-
20110729085509
-2qm85s551cthexbf
addons/base_action_rule/base_action_rule.py
patch
|
blob
|
history
diff --git
a/addons/base_action_rule/base_action_rule.py
b/addons/base_action_rule/base_action_rule.py
index
80c1ab4
..
cc1f43c
100644
(file)
--- a/
addons/base_action_rule/base_action_rule.py
+++ b/
addons/base_action_rule/base_action_rule.py
@@
-183,9
+183,10
@@
the rule to mark CC(mail to any other person defined in actions)."),
context = {}
if isinstance(ids, (str, int, long)):
ids = [ids]
+ id = old_write(cr, uid, ids, vals, context=context)
if not context.get('action'):
self.pre_action(cr, uid, ids, model, context=context)
- return old_write(cr, uid, ids, vals, context=context)
+ return id
return make_call_old
def _register_hook(self, cr, uid, ids, context=None):