c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #20860
[Bug 747422] Re: "integer = boolean" error due to NULL name of ir_act_window
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.
--
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:
New
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