c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #33348
[Bug 861180] Re: NameError: name 'country_id' is not defined
** Attachment added: "Address Fed State.ogv"
https://bugs.launchpad.net/openerp-web/+bug/861180/+attachment/2473215/+files/Address%20Fed%20State.ogv
--
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/861180
Title:
NameError: name 'country_id' is not defined
Status in OpenERP Web:
Confirmed
Bug description:
Steps for reproduce the bug :
create new customer and fill the state value.
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 751, in call
return self.call_common(req, model, method, args, domain_id, context_id)
File "/home/amit/sources/client-web/trunk/addons/web/controllers/main.py", line 735, in call_common
c, d = eval_context_and_domain(req.session, context, domain)
File "/home/amit/sources/client-web/trunk/addons/web/controllers/main.py", line 472, in eval_context_and_domain
e_domain = session.eval_domain(domain or [])
File "/home/amit/sources/client-web/trunk/addons/web/common/session.py", line 190, in eval_domain
return cdomain.evaluate(context or {})
File "/home/amit/sources/client-web/trunk/addons/web/common/nonliterals.py", line 210, in evaluate
final_domain.extend(domain.evaluate(ctx))
File "/home/amit/sources/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 'country_id' is not defined
To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/861180/+subscriptions
References