credativ team mailing list archive
-
credativ team
-
Mailing list archive
-
Message #03173
[Bug 914208] Re: cannot create a new survey
Is a bug in addons due to another view that defines o2m with a context
referencing the same o2m.
See patch to know which view is problematic.
** Changed in: openerp-web
Status: In Progress => Confirmed
** Project changed: openerp-web => openobject-addons
** Patch added: "tmp.diff"
https://bugs.launchpad.net/openobject-addons/+bug/914208/+attachment/2665926/+files/tmp.diff
--
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/914208
Title:
cannot create a new survey
Status in OpenERP Addons (modules):
Confirmed
Bug description:
in a db without demo data, install survey
- go to Tools/ Surveys/Define a Survey/ Surveys
- create a new one ;
Client Traceback (most recent call last):
File "/home/aline/source/web/trunk/addons/web/common/http.py", line 175, in dispatch
response["result"] = method(controller, self, **self.params)
File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 875, in default_get
return Model.default_get(fields, req.session.eval_context(req.context))
File "/home/aline/source/web/trunk/addons/web/common/session.py", line 165, in eval_context
return ccontext.evaluate(ctx)
File "/home/aline/source/web/trunk/addons/web/common/nonliterals.py", line 267, in evaluate
final_context.update(context_to_eval.evaluate(ctx))
File "/home/aline/source/web/trunk/addons/web/common/nonliterals.py", line 267, in evaluate
final_context.update(context_to_eval.evaluate(ctx))
File "/home/aline/source/web/trunk/addons/web/common/nonliterals.py", line 187, in evaluate
raise ValueError('Error during evaluation of this context: "%s", message: "%s"' % (self.get_context_string(), e.message))
ValueError: Error during evaluation of this context: "{'line_order': page_ids}", message: "name 'page_ids' is not defined"
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/914208/+subscriptions