Devishree Brahmbhatt (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-801540-dbr into
lp:openobject-addons.
Requested reviews:
Bhumika (OpenERP) (sbh-openerp)
Related bugs:
Bug #801540 in OpenERP Addons: "Email actions sends outdated data"
https://bugs.launchpad.net/openobject-addons/+bug/801540
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-801540-dbr/+merge/69756
Hello Ma'am,
Fixes : Email actions sends outdated data.
So, Kindly review it.
Thank You.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-801540-dbr/+merge/69756
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-801540-dbr.
=== modified file 'base_action_rule/base_action_rule.py'
--- base_action_rule/base_action_rule.py 2011-06-24 10:24:19 +0000
+++ base_action_rule/base_action_rule.py 2011-07-29 08:58:30 +0000
@@ -183,9 +183,10 @@
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):
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp