After creating a new database object, and menu, accessing the new menu gives an error.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Open ERP 5.0.10.
How to reproduce:
1. Install new database, minimal profile;
2. Create new object x_object_a, fields x_name;
3. Create menu (for A);
4. Open menu A and insert records;
5. Create new object B (with a many2one field to x_object_a_id);
6. Save and create menu;
7. Accessing the menu gives the following error :(
.......
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/
xarch, xfields = self.__
File "/home/
cr.
File "/home/
return f(self, *args, **kwargs)
File "/home/
res = self._obj.
ProgrammingError: operator does not exist: integer = boolean
LINHA 1: select name, model from ir_ui_view where (id=false or inheri...
DICA: No operator matches the given name and argument type(s). You might need to add explicit type casts.
Hi CMSA,
I followed the same steps and I could not face the error.
This code gets executed only when there is an inheritance of views.
Please try again and let us know the behaviour.
Thanks.