models many2many field error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Committed
|
Medium
|
OpenERP's Framework R&D |
Bug Description
Hi all,
I've tested the OpenERP7.0 for several latest versions.
Every time when I modify a model and create a field type many2many, then I save model, it occur an error. The messages it show:
=======
OpenERP Server Error
Client Traceback (most recent call last):
File "/opt/openerp/
response[
File "/opt/openerp/
return self._call_kw(req, model, method, args, kwargs)
File "/opt/openerp/
return getattr(
File "/opt/openerp/
result = self.proxy.
File "/opt/openerp/
result = self.session.
File "/opt/openerp/
raise xmlrpclib.
Server Traceback (most recent call last):
File "/opt/openerp/
return openerp.
File "/opt/openerp/
result = ExportService.
File "/opt/openerp/
res = fn(db, uid, *params)
File "/opt/openerp/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/opt/openerp/
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/
return super(ir_
File "/opt/openerp/
result += self._columns[
File "/opt/openerp/
id_new = obj.create(cr, user, act[2], context=context)
File "/opt/openerp/
self.
File "/opt/openerp/
self.
File "/opt/openerp/
self.
File "/opt/openerp/
""", (relation_table, self._module))
File "/opt/openerp/
return f(self, *args, **kwargs)
File "/opt/openerp/
res = self._obj.
ProgrammingError: operator does not exist: character varying = boolean
LINE 5: AND ir_module_
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
Related branches
- OpenERP Core Team: Pending requested
-
Diff: 25 lines (+8/-7)1 file modifiedopenerp/osv/orm.py (+8/-7)
env: both ubuntu12.10 and windows XP, OpenERP 7.0( 2013-03-21, 2013-03-28, 2013-03-29), PostgreSQL9. 1(ubuntu) /PostgreSQL9. 2(windows XP)