← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 686863] Re: Error open contact from GTK (base_contact installed)

 

Environment Information : 
System : Linux-2.6.35-23-generic-x86_64-with-Ubuntu-10.10-maverick
OS Name : posix
Distributor ID:	Ubuntu
Description:	Ubuntu 10.10
Release:	10.10
Codename:	maverick
Operating System Release : 2.6.35-23-generic
Operating System Version : #41-Ubuntu SMP Wed Nov 24 11:55:36 UTC 2010
Operating System Architecture : 64bit
Operating System Locale : de_DE.UTF8
Python Version : 2.6.6
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 598, in dispatch
    res = fn(db, uid, *params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 119, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 203, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 193, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/account_voucher/account_voucher.py", line 134, in fields_view_get
    res = super(account_voucher, self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar, submenu=submenu)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 1672, in fields_view_get
    cr.execute(query, params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/sql_db.py", line 76, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/sql_db.py", line 129, in execute
    res = self._obj.execute(query, params)
ProgrammingError: operator does not exist: integer = record
LINE 1: ...parent,id,type,inherit_id FROM ir_ui_view WHERE id=(569, E'a...
                                                             ^
HINT:  No operator matches the given name and argument type(s). You might need to add explicit type casts.

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

Title:
  Error open contact from GTK (base_contact  installed)

Status in OpenObject Addons Modules:
  New

Bug description:
  Hi I have a GTK trunk + server trunk updated today on ubu 10.10
When I click on menu contact I got error, it seems to be a cast conversion error:

[2010-12-08 05:57:27,113][laser60] ERROR:db.cursor:Programming error: operator does not exist: integer = record
RIGA 1: ...parent,id,type,inherit_id FROM ir_ui_view WHERE id=(133, E'r...
                                                             ^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
, in query SELECT arch,name,field_parent,id,type,inherit_id FROM ir_ui_view WHERE id=%s AND model=%s
[2010-12-08 05:57:27,113][laser60] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
  File "/home/administrator/Launchpad/openerp/server/bin/osv/osv.py", line 119, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/administrator/Launchpad/openerp/server/bin/osv/osv.py", line 203, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/administrator/Launchpad/openerp/server/bin/osv/osv.py", line 193, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/administrator/Launchpad/openerp/server/bin/osv/orm.py", line 1672, in fields_view_get
    cr.execute(query, params)
  File "/home/administrator/Launchpad/openerp/server/bin/sql_db.py", line 76, in wrapper
    return f(self, *args, **kwargs)
  File "/home/administrator/Launchpad/openerp/server/bin/sql_db.py", line 129, in execute
    res = self._obj.execute(query, params)
ProgrammingError: operator does not exist: integer = record
RIGA 1: ...parent,id,type,inherit_id FROM ir_ui_view WHERE id=(133, E'r...
                                                             ^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.





References