c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #34893
[Bug 874542] Re: context none is not a dict
** Changed in: openerp-web
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/874542
Title:
context none is not a dict
Status in OpenERP Web:
Fix Released
Bug description:
In fresh installation in trunk with revno 1261, i get an error
following:
Create a Lead
CLose the Lead
Try to creat Oportunity from Lead
Error:
Client Traceback (most recent call last):
File "/Users/t0rn0/Projects/trunk/web/addons/web/common/http.py", line 154, in dispatch
response["result"] = method(controller, self, **self.params)
File "/Users/t0rn0/Projects/trunk/web/addons/web/controllers/main.py", line 904, in load
return self.fields_view_get(req, model, view_id, view_type, toolbar=toolbar)
File "/Users/t0rn0/Projects/trunk/web/addons/web/controllers/main.py", line 760, in fields_view_get
context = req.session.eval_context(req.context)
File "/Users/t0rn0/Projects/trunk/web/addons/web/common/session.py", line 158, in eval_context
return ccontext.evaluate(ctx)
File "/Users/t0rn0/Projects/trunk/web/addons/web/common/nonliterals.py", line 265, in evaluate
final_context.update(context_to_eval.evaluate(ctx))
File "/Users/t0rn0/Projects/trunk/web/addons/web/common/nonliterals.py", line 265, in evaluate
final_context.update(context_to_eval.evaluate(ctx))
File "/Users/t0rn0/Projects/trunk/web/addons/web/common/nonliterals.py", line 256, in evaluate
"Context %r is not a dict or a nonliteral Context" % context_to_eval)
TypeError: Context None is not a dict or a nonliteral Context
To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/874542/+subscriptions
References