← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 860277] Re: while selecting Action Reason for new Record

 

** Description changed:

  HR > Employee > Attendances > Action Reason
+ * While creating a new action sing in / sing out, when i click on Action Reason field while assigning reason i got following Traceback
+ 
  Client Traceback (most recent call last):
-   File "/home/han/rdtool/client-web/trunk/addons/web/common/dispatch.py", line 161, in dispatch
-     response["result"] = method(controller, self, **self.params)
-   File "/home/han/rdtool/client-web/trunk/addons/web/controllers/main.py", line 749, in call
-     return self.call_common(req, model, method, args, domain_id, context_id)
-   File "/home/han/rdtool/client-web/trunk/addons/web/controllers/main.py", line 733, in call_common
-     c, d = eval_context_and_domain(req.session, context, domain)
-   File "/home/han/rdtool/client-web/trunk/addons/web/controllers/main.py", line 470, in eval_context_and_domain
-     e_domain = session.eval_domain(domain or [])
-   File "/home/han/rdtool/client-web/trunk/addons/web/common/session.py", line 190, in eval_domain
-     return cdomain.evaluate(context or {})
-   File "/home/han/rdtool/client-web/trunk/addons/web/common/nonliterals.py", line 210, in evaluate
-     final_domain.extend(domain.evaluate(ctx))
-   File "/home/han/rdtool/client-web/trunk/addons/web/common/nonliterals.py", line 128, in evaluate
-     return eval(self.get_domain_string(), SuperDict(ctx))
-   File "<string>", line 1, in <module>
+   File "/home/han/rdtool/client-web/trunk/addons/web/common/dispatch.py", line 161, in dispatch
+     response["result"] = method(controller, self, **self.params)
+   File "/home/han/rdtool/client-web/trunk/addons/web/controllers/main.py", line 749, in call
+     return self.call_common(req, model, method, args, domain_id, context_id)
+   File "/home/han/rdtool/client-web/trunk/addons/web/controllers/main.py", line 733, in call_common
+     c, d = eval_context_and_domain(req.session, context, domain)
+   File "/home/han/rdtool/client-web/trunk/addons/web/controllers/main.py", line 470, in eval_context_and_domain
+     e_domain = session.eval_domain(domain or [])
+   File "/home/han/rdtool/client-web/trunk/addons/web/common/session.py", line 190, in eval_domain
+     return cdomain.evaluate(context or {})
+   File "/home/han/rdtool/client-web/trunk/addons/web/common/nonliterals.py", line 210, in evaluate
+     final_domain.extend(domain.evaluate(ctx))
+   File "/home/han/rdtool/client-web/trunk/addons/web/common/nonliterals.py", line 128, in evaluate
+     return eval(self.get_domain_string(), SuperDict(ctx))
+   File "<string>", line 1, in <module>
  NameError: name 'action' is not defined

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

Title:
  while selecting Action Reason for new Record

Status in OpenERP Web:
  New

Bug description:
  HR > Employee > Attendances > Action Reason
  * While creating a new action sing in / sing out, when i click on Action Reason field while assigning reason i got following Traceback

  Client Traceback (most recent call last):
    File "/home/han/rdtool/client-web/trunk/addons/web/common/dispatch.py", line 161, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/han/rdtool/client-web/trunk/addons/web/controllers/main.py", line 749, in call
      return self.call_common(req, model, method, args, domain_id, context_id)
    File "/home/han/rdtool/client-web/trunk/addons/web/controllers/main.py", line 733, in call_common
      c, d = eval_context_and_domain(req.session, context, domain)
    File "/home/han/rdtool/client-web/trunk/addons/web/controllers/main.py", line 470, in eval_context_and_domain
      e_domain = session.eval_domain(domain or [])
    File "/home/han/rdtool/client-web/trunk/addons/web/common/session.py", line 190, in eval_domain
      return cdomain.evaluate(context or {})
    File "/home/han/rdtool/client-web/trunk/addons/web/common/nonliterals.py", line 210, in evaluate
      final_domain.extend(domain.evaluate(ctx))
    File "/home/han/rdtool/client-web/trunk/addons/web/common/nonliterals.py", line 128, in evaluate
      return eval(self.get_domain_string(), SuperDict(ctx))
    File "<string>", line 1, in <module>
  NameError: name 'action' is not defined

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


References