← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 704065] [NEW] fails to add new supplier invoice line

 

Public bug reported:

When I try to add a new supplier invoice line it fails.

I tried it with a new branch of server rev 3286
www-client: 4368
addons: 4273

And a new database with demo data.

Output from the wwwserver:
Request Headers:
  REFERER: http://62.181.230.236:12327/openerp/menu?active=117
  Content-Length: 3535
  ACCEPT-CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
  USER-AGENT: Mozilla/5.0 (Windows; U; Windows NT 6.1; sv-SE; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
  CONNECTION: keep-alive
  COOKIE: session_id=ecbfbe4d17955caa63eef1578f4b58c1b8c26fbf; terp_db=test2; terp_user=admin
  Remote-Addr: 89.160.99.71
  PRAGMA: no-cache
  HOST: 62.181.230.236:12327
  CACHE-CONTROL: no-cache
  ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  ACCEPT-LANGUAGE: sv-se,sv;q=0.8,en-us;q=0.5,en;q=0.3
  Content-Type: application/x-www-form-urlencoded; charset=UTF-8
  ACCEPT-ENCODING: gzip,deflate
  KEEP-ALIVE: 115
[17/Jan/2011:18:54:31] HTTP Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cprequest.py", line 606, in respond
    cherrypy.response.body = self.handler()
  File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/home/openerp/openerp6/wwwserver/openobject/tools/_expose.py", line 182, in func_wrapper
    res = func(*args, **kw)
  File "/home/openerp/openerp6/wwwserver/openobject/controllers/_root.py", line 87, in default
    return request.handler()
  File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cpdispatch.py", line 25, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/home/openerp/openerp6/wwwserver/addons/openerp/controllers/utils.py", line 112, in wrapper
    return fn(*args, **kw)
  File "/home/openerp/openerp6/wwwserver/openobject/tools/_expose.py", line 182, in func_wrapper
    res = func(*args, **kw)
  File "/home/openerp/openerp6/wwwserver/addons/openerp/controllers/search.py", line 115, in eval_domain_and_context
    parent_context = self.context_get(params.context, params.parent_context) or {}
  File "/home/openerp/openerp6/wwwserver/addons/openerp/controllers/search.py", line 486, in context_get
    expr_eval('dict(%s)' % field_context_str, parent_context))
  File "/home/openerp/openerp6/wwwserver/addons/openerp/utils/tools.py", line 39, in expr_eval
    evaled = eval(string, context)
  File "<string>", line 1, in <module>
NameError: name 'check_total' is not defined

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
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/704065

Title:
  fails to add new supplier invoice line

Status in OpenObject Server:
  New

Bug description:
  When I try to add a new supplier invoice line it fails.

  I tried it with a new branch of server rev 3286
  www-client: 4368
  addons: 4273

  And a new database with demo data.

  Output from the wwwserver:
  Request Headers:
    REFERER: http://62.181.230.236:12327/openerp/menu?active=117
    Content-Length: 3535
    ACCEPT-CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    USER-AGENT: Mozilla/5.0 (Windows; U; Windows NT 6.1; sv-SE; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
    CONNECTION: keep-alive
    COOKIE: session_id=ecbfbe4d17955caa63eef1578f4b58c1b8c26fbf; terp_db=test2; terp_user=admin
    Remote-Addr: 89.160.99.71
    PRAGMA: no-cache
    HOST: 62.181.230.236:12327
    CACHE-CONTROL: no-cache
    ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    ACCEPT-LANGUAGE: sv-se,sv;q=0.8,en-us;q=0.5,en;q=0.3
    Content-Type: application/x-www-form-urlencoded; charset=UTF-8
    ACCEPT-ENCODING: gzip,deflate
    KEEP-ALIVE: 115
  [17/Jan/2011:18:54:31] HTTP Traceback (most recent call last):
    File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cprequest.py", line 606, in respond
      cherrypy.response.body = self.handler()
    File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cpdispatch.py", line 25, in __call__
      return self.callable(*self.args, **self.kwargs)
    File "/home/openerp/openerp6/wwwserver/openobject/tools/_expose.py", line 182, in func_wrapper
      res = func(*args, **kw)
    File "/home/openerp/openerp6/wwwserver/openobject/controllers/_root.py", line 87, in default
      return request.handler()
    File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cpdispatch.py", line 25, in __call__
      return self.callable(*self.args, **self.kwargs)
    File "/home/openerp/openerp6/wwwserver/addons/openerp/controllers/utils.py", line 112, in wrapper
      return fn(*args, **kw)
    File "/home/openerp/openerp6/wwwserver/openobject/tools/_expose.py", line 182, in func_wrapper
      res = func(*args, **kw)
    File "/home/openerp/openerp6/wwwserver/addons/openerp/controllers/search.py", line 115, in eval_domain_and_context
      parent_context = self.context_get(params.context, params.parent_context) or {}
    File "/home/openerp/openerp6/wwwserver/addons/openerp/controllers/search.py", line 486, in context_get
      expr_eval('dict(%s)' % field_context_str, parent_context))
    File "/home/openerp/openerp6/wwwserver/addons/openerp/utils/tools.py", line 39, in expr_eval
      evaled = eval(string, context)
    File "<string>", line 1, in <module>
  NameError: name 'check_total' is not defined





Follow ups

References