← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 704938] Re: Web-client -> eval(x, y) throws nameerror while parsing in tools.py

 

Checked Again.
Works fine after update to 6.0.0.

So, I set the status to Invalid.

Thanks for the support Devishree!
 

** Changed in: openobject-client-web
       Status: Incomplete => Invalid

-- 
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:
  Invalid

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