[Critical] Regression on rev. 2842. Bug saving popups

Bug #539783 reported by Omar (Pexego)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web Client
Fix Released
Undecided
Unassigned

Bug Description

Hi,

In the last revision 2842 of stable branch, when I want to save popups for example sale order lines, it shows an error: 'NoneType' object is not callable.

Traceback:

  File "/srv/openerp/openerp5/branches/5.0/openerp-web/lib/CherryPy-3.1.2-py2.5.egg/cherrypy/_cprequest.py", line 606, in respond
  File "/srv/openerp/openerp5/branches/5.0/openerp-web/lib/CherryPy-3.1.2-py2.5.egg/cherrypy/_cpdispatch.py", line 25, in __call__
  File "/srv/openerp/openerp5/branches/5.0/openerp-web/openerp/controllers/base.py", line 130, in wrapper
    return fn(*args, **kw)
  File "/srv/openerp/openerp5/branches/5.0/openerp-web/openerp/tools/expose.py", line 204, in func_wrapper
    res = func(*args, **kw)
  File "/srv/openerp/openerp5/branches/5.0/openerp-web/openerp/tools/utils.py", line 108, in func_wrapper
    form = init_form(args and args[0] or kw["self"])
  File "/srv/openerp/openerp5/branches/5.0/openerp-web/openerp/tools/utils.py", line 98, in <lambda>
    init_form = lambda self: form(self)
  File "/srv/openerp/openerp5/branches/5.0/openerp-web/openerp/controllers/form.py", line 158, in get_validation_schema
    form = self.create_form(params)
  File "/srv/openerp/openerp5/branches/5.0/openerp-web/openerp/controllers/openo2m.py", line 69, in create_form
    form = tw.form_view.ViewForm(vp, name="view_form", action="/openo2m/save")
  File "/srv/openerp/openerp5/branches/5.0/openerp-web/openerp/widgets/base/meta.py", line 40, in wrapper
    res = func(self, *args, **kw)
  File "/srv/openerp/openerp5/branches/5.0/openerp-web/openerp/widgets/form_view.py", line 75, in __init__
    self.screen.view_type, context=self.screen.context)
  File "/srv/openerp/openerp5/branches/5.0/openerp-web/openerp/widgets/base/meta.py", line 40, in wrapper
    res = func(self, *args, **kw)
  File "/srv/openerp/openerp5/branches/5.0/openerp-web/openerp/widgets/sidebar.py", line 92, in __init__
    actions = proxy.get('action', act, [(self.model, False)], False, self.context)
  File "/srv/openerp/openerp5/branches/5.0/openerp-web/openerp/rpc.py", line 390, in <lambda>
    return lambda *args: self._session.execute("object", "execute", self._resource, name, *args)
  File "/srv/openerp/openerp5/branches/5.0/openerp-web/openerp/rpc.py", line 351, in execute
    return self.gateway.execute(obj, method, *args)
  File "/srv/openerp/openerp5/branches/5.0/openerp-web/openerp/rpc.py", line 153, in execute
    return self.__execute(obj, method, args)
  File "/srv/openerp/openerp5/branches/5.0/openerp-web/openerp/rpc.py", line 142, in __execute
    raise common.error(_('Application Error!'), str(e))
  File "/srv/openerp/openerp5/branches/5.0/openerp-web/openerp/common.py", line 72, in error
    raise TinyError(message=msg, title=title or _("Error"))
TinyError: 'NoneType' object is not callable

It doesn't allow save any popup. If I revert this revision it works.
Thanks.

Tags: pexego

Related branches

Revision history for this message
Sananaz (Open ERP) (sma-tiny) wrote :

Hello,

Its fixed in stable. Please update your code and notify us.

Revision-info:
2843 <email address hidden>

Thanks.

Changed in openobject-client-web:
status: New → Fix Committed
Changed in openobject-client-web:
milestone: none → 5.0.11
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.