c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #34140
[Bug 869287] Re: M2O with domains are broken
*** This bug is a duplicate of bug 854699 ***
https://bugs.launchpad.net/bugs/854699
** This bug has been marked a duplicate of bug 854699
link address in opportunity view
--
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/869287
Title:
M2O with domains are broken
Status in OpenERP Web:
New
Bug description:
Sales -> Leads
Create new lead
In form view, click on "Fed. State" M20 arrow -> Traceback
Client Traceback (most recent call last):
File "/media/sf_agr/Projects/openerp/source/client-web/trunk/addons/web/common/http.py", line 154, in dispatch
response["result"] = method(controller, self, **self.params)
File "/media/sf_agr/Projects/openerp/source/client-web/trunk/addons/web/controllers/main.py", line 715, in call
if isinstance(args[i], web.common.nonliterals.BaseDomain):
File "/media/sf_agr/Projects/openerp/source/client-web/trunk/addons/web/controllers/main.py", line 699, in call_common
def unlink(self, req, model, ids=()):
File "/media/sf_agr/Projects/openerp/source/client-web/trunk/addons/web/controllers/main.py", line 433, in eval_context_and_domain
def check(self, req):
File "/media/sf_agr/Projects/openerp/source/client-web/trunk/addons/web/common/session.py", line 180, in eval_domain
return cdomain.evaluate(context or {})
File "/media/sf_agr/Projects/openerp/source/client-web/trunk/addons/web/common/nonliterals.py", line 216, in evaluate
final_domain.extend(domain.evaluate(ctx))
File "/media/sf_agr/Projects/openerp/source/client-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 manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/869287/+subscriptions
References