← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 886747] Re: [6.0] Error message after creation of new database || base_setup : correction on action definition

 

** Branch linked: lp:~serpent-consulting-services/openobject-
server/6.0-886747-SerpentCS

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/886747

Title:
  [6.0] Error message after creation of new database || base_setup :
  correction on action definition, misses _rec_name

Status in OpenERP Addons (modules):
  Confirmed
Status in OpenERP Server:
  Confirmed

Bug description:
  I made completely new fresh branched installation from launchpad (server 6.0, addons 6.0, web-client 6.0)
  creation of new database results in error below (ususally wizard starts at this point)

  
  Traceback (most recent call last):
    File "/home/prospwro/openerp/server/bin/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/home/prospwro/openerp/server/bin/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/home/prospwro/openerp/server/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/prospwro/openerp/server/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/prospwro/openerp/server/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/prospwro/openerp/server/bin/osv/orm.py", line 1630, in fields_view_get
      xml = self.__get_default_search_view(cr, user, context)
    File "/home/prospwro/openerp/server/bin/osv/orm.py", line 1394, in __get_default_search_view
      tree_view = self.fields_view_get(cr, uid, False, 'tree', context=context)
    File "/home/prospwro/openerp/server/bin/osv/orm.py", line 1645, in fields_view_get
      xarch, xfields = self.__view_look_dom_arch(cr, user, result['arch'], view_id, context=ctx)
    File "/home/prospwro/openerp/server/bin/osv/orm.py", line 1336, in __view_look_dom_arch
      cr.execute('select name, model from ir_ui_view where (id=%s or inherit_id=%s) and arch like %s', (view_id, view_id, '%%%s%%' % field))
    File "/home/prospwro/openerp/server/bin/sql_db.py", line 78, in wrapper
      return f(self, *args, **kwargs)
    File "/home/prospwro/openerp/server/bin/sql_db.py", line 131, in execute
      res = self._obj.execute(query, params)
  ProgrammingError: operator does not exist: integer = boolean
  СТРОКА 1:select name, model from ir_ui_view where (id=false or inheri...
                                                       ^
  ПОДСКАЗКА:  No operator matches the given name and argument type(s). You might need to add explicit type casts.

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


References