← Back to team overview

openerp-india team mailing list archive

Re: [Bug 937826] Re: console error opening product form in GTK

 

Actually it isn't, it the traceback causes a performance issue.  There are
2 forms in particular which take forever to load.  Partner form and product
form and it is because of the multiple attempts to evaluate this
expression.

On Wed, Feb 22, 2012 at 8:32 PM, Vishal Parmar(Open ERP) <
937826@xxxxxxxxxxxxxxxxxx> wrote:

> Hello
>
> This is just a warning as an intended traceback.
>
> Thanks.
>
> ** Changed in: openobject-addons
>       Status: New => Invalid
>
> --
> You received this bug notification because you are subscribed to OpenERP
> Addons.
> https://bugs.launchpad.net/bugs/937826
>
> Title:
>  console error opening product form in GTK
>
> Status in OpenERP Addons (modules):
>   Invalid
>
> Bug description:
>  ERROR:tools.expr_eval:{'default_product_uom': uom_id}
>  Traceback (most recent call last):
>    File "/home/gass/OpenERP/gtk/6.1/bin/tools/__init__.py", line 52, in
> expr_eval
>      temp = eval(string, context)
>    File "<string>", line 1, in <module>
>  NameError: name 'uom_id' is not defined
>  ERROR:tools.expr_eval:{'uom_id': uom_id}
>  Traceback (most recent call last):
>    File "/home/gass/OpenERP/gtk/6.1/bin/tools/__init__.py", line 52, in
> expr_eval
>      temp = eval(string, context)
>    File "<string>", line 1, in <module>
>  NameError: name 'uom_id' is not defined
>  ERROR:tools.expr_eval:{'default_product_uom': uom_id}
>
>
>  the code is in these 2 files
>  ./product/product_view.xml:162:
>  ./procurement/procurement_view.xml:288:
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openobject-addons/+bug/937826/+subscriptions
>

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/937826

Title:
  console error opening product form in GTK

Status in OpenERP Addons (modules):
  Invalid

Bug description:
  ERROR:tools.expr_eval:{'default_product_uom': uom_id}
  Traceback (most recent call last):
    File "/home/gass/OpenERP/gtk/6.1/bin/tools/__init__.py", line 52, in expr_eval
      temp = eval(string, context)
    File "<string>", line 1, in <module>
  NameError: name 'uom_id' is not defined
  ERROR:tools.expr_eval:{'uom_id': uom_id}
  Traceback (most recent call last):
    File "/home/gass/OpenERP/gtk/6.1/bin/tools/__init__.py", line 52, in expr_eval
      temp = eval(string, context)
    File "<string>", line 1, in <module>
  NameError: name 'uom_id' is not defined
  ERROR:tools.expr_eval:{'default_product_uom': uom_id}

  
  the code is in these 2 files
  ./product/product_view.xml:162:
  ./procurement/procurement_view.xml:288:

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/937826/+subscriptions


Follow ups

References