state_id : name 'country_id' is not defined

Bug #871671 reported by Aline (OpenERP)
This bug report is a duplicate of:  Bug #854699: link address in opportunity view. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

trunk, web, chrome

cannot add manually a fed state in a form (lead view, company view

Client Traceback (most recent call last):
  File "/home/aline/source/web/trunk/addons/web/common/http.py", line 154, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 718, in call
    return self.call_common(req, model, method, args, domain_id, context_id)
  File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 702, in call_common
    c, d = eval_context_and_domain(req.session, context, domain)
  File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 436, in eval_context_and_domain
    e_domain = session.eval_domain(domain or [])
  File "/home/aline/source/web/trunk/addons/web/common/session.py", line 180, in eval_domain
    return cdomain.evaluate(context or {})
  File "/home/aline/source/web/trunk/addons/web/common/nonliterals.py", line 216, in evaluate
    final_domain.extend(domain.evaluate(ctx))
  File "/home/aline/source/web/trunk/addons/web/common/nonliterals.py", line 134, in evaluate
    return eval(self.get_domain_string(), SuperDict(ctx))
  File "<string>", line 1, in <module>
NameError: name 'country_id' is not defined

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.