"integer = boolean" error due to NULL name of ir_act_window
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Confirmed
|
Undecided
|
OpenERP Publisher's Warranty Team |
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/
result = LocalService(
File "/home/
return getattr(self, method)(*params)
File "/home/
res = service.execute(db, uid, object, method, *args)
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/
cr.
File "/home/
return f(self, *args, **kwargs)
File "/home/
res = self._obj.
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.
Hello,
The traceback suggested that you are using the stable 5 version. So i have tested it with that version but did not find any record of ir_act_window without the name.
Please give me the information which modules have been installed at your end. I have checked it with the sale module installation.
Waiting for your reply.
Thanks.