← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 747422] Re: "integer = boolean" error due to NULL name of ir_act_window

 

Hello,

Thanks for the reply! Now I did get the same problem at my end.

Thanks.

** Changed in: openobject-server
       Status: New => Confirmed

** Changed in: openobject-server
     Assignee: (unassigned) => OpenERP Publisher's Warranty Team (openerp-opw)

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

Title:
  "integer = boolean" error due to NULL name of ir_act_window

Status in OpenERP Server:
  Confirmed

Bug description:
  There are few ir_ui_window 'name that haven't a real name. By default,
  the field is '' value.

  But, when you modify this kind of  window action, the name is replace
  by a NULL value.

  If you try to dump and retore your database, when you try to connect
  with webclient, this error appear:

  <code>
  Traceback (most recent call last):
    File "/home/lchevalier/Programmes/openerp-server-5.0.15/bin/netsvc.py", line 299, in dispatch
      result = LocalService(service_name)(method, *params)
    File "/home/lchevalier/Programmes/openerp-server-5.0.15/bin/netsvc.py", line 77, in __call__
      return getattr(self, method)(*params)
    File "/home/lchevalier/Programmes/openerp-server-5.0.15/bin/service/web_services.py", line 577, in execute
      res = service.execute(db, uid, object, method, *args)
    File "/home/lchevalier/Programmes/openerp-server-5.0.15/bin/osv/osv.py", line 58, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/lchevalier/Programmes/openerp-server-5.0.15/bin/osv/osv.py", line 119, in execute
      res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/lchevalier/Programmes/openerp-server-5.0.15/bin/osv/osv.py", line 111, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/lchevalier/Programmes/openerp-server-5.0.15/bin/osv/orm.py", line 2229, in read
      result = self._read_flat(cr, user, select, fields, context, load)
    File "/home/lchevalier/Programmes/openerp-server-5.0.15/bin/osv/orm.py", line 2302, in _read_flat
      cr.execute(query, (tuple(sub_ids),))
    File "/home/lchevalier/Programmes/openerp-server-5.0.15/bin/sql_db.py", line 78, in wrapper
      return f(self, *args, **kwargs)
    File "/home/lchevalier/Programmes/openerp-server-5.0.15/bin/sql_db.py", line 123, in execute
      res = self._obj.execute(query, params)
  ProgrammingError: ERREUR:  l'opérateur n'existe pas : integer = boolean
  LIGNE 1 : SELECT "type",id FROM "ir_actions" WHERE id in (false) ORDER...
                                                        ^
  ASTUCE : Aucun opérateur ne correspond au nom donné et aux types d'arguments.
  Vous devez ajouter des conversions explicites de type.
  </code>

  And the ir_act_window table is empty after the restaure.



References