Sanjay Gohel (Open ERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-907351-sgo into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
Bug #907351 in OpenERP Addons: "crm lead bug"
https://bugs.launchpad.net/openobject-addons/+bug/907351
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-907351-sgo/+merge/86663
Hello,
I have changed context in base_action_rule if context is none it converts
into dictionary. for crm.lead tree view state change bug.
Kindly review it.
Thank You.
SGO
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-907351-sgo/+merge/86663
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-907351-sgo.
=== modified file 'base_action_rule/base_action_rule.py'
--- base_action_rule/base_action_rule.py 2011-11-14 12:27:27 +0000
+++ base_action_rule/base_action_rule.py 2011-12-22 06:50:30 +0000
@@ -182,6 +182,8 @@
Return a wrapper around `old_write` calling both `old_write` and
`post_action`, in that order.
"""
+ if context is None:
+ context = {}
def wrapper(cr, uid, ids, vals, context=context):
if isinstance(ids, (str, int, long)):
ids = [ids]
_______________________________________________
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