[RC3] error when create view in GTK client

Bug #316484 reported by Christophe CHAUVET
2
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

Administration->Customisation->User interface->Views

Create a new one and save but crash

-----------8<------------------------8<-----------------------
Traceback (most recent call last):
  File "/home/kryskool/openerp50-rc3/openerp/server/bin/netsvc.py", line 226, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/home/kryskool/openerp50-rc3/openerp/server/bin/netsvc.py", line 74, in __call__
    return getattr(self, method)(*params)
  File "/home/kryskool/openerp50-rc3/openerp/server/bin/service/web_services.py", line 449, in execute
    res = service.execute(db, uid, object, method, *args)
  File "/home/kryskool/openerp50-rc3/openerp/server/bin/osv/osv.py", line 59, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/kryskool/openerp50-rc3/openerp/server/bin/osv/osv.py", line 119, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/kryskool/openerp50-rc3/openerp/server/bin/osv/osv.py", line 111, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/kryskool/openerp50-rc3/openerp/server/bin/addons/base/ir/ir_ui_view.py", line 78, in create
    obj=self.browse(cr,uid,vals['inherit_id'])
  File "/home/kryskool/openerp50-rc3/openerp/server/bin/osv/orm.py", line 403, in browse
    return browse_record(cr, uid, select, self, cache, context=context, list_class=self._list_class, fields_process=fields_process)
  File "/home/kryskool/openerp50-rc3/openerp/server/bin/osv/orm.py", line 122, in __init__
    assert id and isinstance(id, (int, long,)), _('Wrong ID for the browse record, got %r, expected an integer.') % (id,)
AssertionError: Wrong ID for the browse record, got False, expected an integer.
-----------8<------------------------8<-----------------------

Changed in openobject-server:
status: New → Confirmed
Changed in openobject-server:
status: Confirmed → 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.