← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 862155] [NEW] while creating new evaluation get traceback

 

Public bug reported:

Client Traceback (most recent call last):
  File "/home/amit/sources/client-web/trunk/addons/web/common/dispatch.py", line 161, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/amit/sources/client-web/trunk/addons/web/controllers/main.py", line 940, in load
    return self.fields_view_get(req, model, view_id, view_type, toolbar=toolbar)
  File "/home/amit/sources/client-web/trunk/addons/web/controllers/main.py", line 796, in fields_view_get
    context = req.session.eval_context(req.context)
  File "/home/amit/sources/client-web/trunk/addons/web/common/session.py", line 168, in eval_context
    return ccontext.evaluate(ctx)
  File "/home/amit/sources/client-web/trunk/addons/web/common/nonliterals.py", line 257, in evaluate
    final_context.update(context_to_eval.evaluate(ctx))
  File "/home/amit/sources/client-web/trunk/addons/web/common/nonliterals.py", line 257, in evaluate
    final_context.update(context_to_eval.evaluate(ctx))
  File "/home/amit/sources/client-web/trunk/addons/web/common/nonliterals.py", line 179, in evaluate
    return eval(self.get_context_string(), SuperDict(ctx))
  File "<string>", line 1, in <module>
NameError: name 'phase_id' is not defined

** Affects: openerp-web
     Importance: Undecided
         Status: New

-- 
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/862155

Title:
  while creating new evaluation get traceback

Status in OpenERP Web:
  New

Bug description:
  Client Traceback (most recent call last):
    File "/home/amit/sources/client-web/trunk/addons/web/common/dispatch.py", line 161, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/amit/sources/client-web/trunk/addons/web/controllers/main.py", line 940, in load
      return self.fields_view_get(req, model, view_id, view_type, toolbar=toolbar)
    File "/home/amit/sources/client-web/trunk/addons/web/controllers/main.py", line 796, in fields_view_get
      context = req.session.eval_context(req.context)
    File "/home/amit/sources/client-web/trunk/addons/web/common/session.py", line 168, in eval_context
      return ccontext.evaluate(ctx)
    File "/home/amit/sources/client-web/trunk/addons/web/common/nonliterals.py", line 257, in evaluate
      final_context.update(context_to_eval.evaluate(ctx))
    File "/home/amit/sources/client-web/trunk/addons/web/common/nonliterals.py", line 257, in evaluate
      final_context.update(context_to_eval.evaluate(ctx))
    File "/home/amit/sources/client-web/trunk/addons/web/common/nonliterals.py", line 179, in evaluate
      return eval(self.get_context_string(), SuperDict(ctx))
    File "<string>", line 1, in <module>
  NameError: name 'phase_id' is not defined

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/862155/+subscriptions


Follow ups

References