c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #13381
[Bug 704938] Re: Web-client -> eval(x, y) throws nameerror while parsing in tools.py
Hello Aries,
I have tested your scenario with V6 stable.
But I didn't find any problem as specified in bug reported.
Would you please check again?
If problem still persist at your end, then give me more information for reproducing the bug.
Thanks.
** Changed in: openobject-client-web
Status: New => Incomplete
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/704938
Title:
Web-client -> eval(x,y) throws nameerror while parsing in tools.py
Status in OpenERP Web Client:
Incomplete
Bug description:
For example if you create a Salesorder
Version 6.0 installation with default data
To Reproduce error:
In web-client:
Sales -> Sales Orders -> New -> Fill in mandatory fields (Customer, Invoice adress,. Ordering Contact and Shipping Adddress)
Then click Sales Order Lines -> New
In the Popup click the Magnifying glass for the product field
It will produce the error.
The following results from ./openerp-web.py output:
[19/Jan/2011:15:41:15] expr_eval Error while parsing u"{'type':parent.type}"
Traceback (most recent call last):
File "/home/openerp/openerp6/wwwserver/addons/openerp/utils/tools.py", line 50, in expr_eval
temp = eval(string, context)
File "<string>", line 1, in <module>
NameError: name 'parent' is not defined
[19/Jan/2011:15:41:15] expr_eval Error while parsing u"{'type':parent.type}"
Traceback (most recent call last):
File "/home/openerp/openerp6/wwwserver/addons/openerp/utils/tools.py", line 50, in expr_eval
temp = eval(string, context)
File "<string>", line 1, in <module>
NameError: name 'parent' is not defined
References