Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3 Ответы
4533 Представления

Hello,

when im clicking at After-Sale-services on the "form-view" then i get this error: Someone know why?

OpenERP Server Error

Client Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/openerp/addons/web/http.py", line 204, in dispatch
    response["result"] = method(self, **self.params)
  File "/usr/lib/pymodules/python2.6/openerp/addons/web/controllers/main.py", line 1128, in call_kw
    return self._call_kw(req, model, method, args, kwargs)
  File "/usr/lib/pymodules/python2.6/openerp/addons/web/controllers/main.py", line 1112, in _call_kw
    names = dict(req.session.model(model).name_get(args[0], **kwargs))
  File "/usr/lib/pymodules/python2.6/openerp/addons/web/session.py", line 42, in proxy
    result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
  File "/usr/lib/pymodules/python2.6/openerp/addons/web/session.py", line 30, in proxy_method
    result = self.session.send(self.service_name, method, *args)
  File "/usr/lib/pymodules/python2.6/openerp/addons/web/session.py", line 103, in send
    raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

Server Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/openerp/addons/web/session.py", line 89, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/usr/lib/pymodules/python2.6/openerp/netsvc.py", line 292, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/usr/lib/pymodules/python2.6/openerp/service/web_services.py", line 626, in dispatch
    res = fn(db, uid, *params)
  File "/usr/lib/pymodules/python2.6/openerp/osv/osv.py", line 188, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/usr/lib/pymodules/python2.6/openerp/osv/osv.py", line 131, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/lib/pymodules/python2.6/openerp/osv/osv.py", line 197, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/lib/pymodules/python2.6/openerp/osv/osv.py", line 185, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/lib/pymodules/python2.6/openerp/osv/orm.py", line 2375, in name_get
    load='_classic_write', context=context)]
  File "/usr/lib/pymodules/python2.6/openerp/osv/orm.py", line 3604, in read
    result = self._read_flat(cr, user, select, fields, context, load)
  File "/usr/lib/pymodules/python2.6/openerp/osv/orm.py", line 3656, in _read_flat
    cr.execute(query, [tuple(sub_ids)] + rule_params)
  File "/usr/lib/pymodules/python2.6/openerp/sql_db.py", line 161, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/lib/pymodules/python2.6/openerp/sql_db.py", line 226, in execute
    res = self._obj.execute(query, params)
  File "/usr/lib/python2.6/dist-packages/psycopg2/extensions.py", line 124, in getquoted
    qobjs = [str(o.getquoted()) for o in pobjs]
AttributeError: 'str' object has no attribute 'getquoted'
Аватар
Отменить
Лучший ответ

Somehow the method is getting a string, instead of an object (which has the function getquoted).

Have you installed any custom modules (downloaded from internet or made by yourself)?

Which apps/modules have you installed, that you can get after sales service?

What is the path taken to generate the error?

Аватар
Отменить
Автор Лучший ответ

it should be the APP "Issue Tracker". theres a Helpdesk, and when i choose the form-view then the error appears.

so i go to the helpdesk and i dont open a "ticket" i have choosed the third view (form-view) and then i get this error.

Аватар
Отменить
Лучший ответ

That's because get quoted doesn't exist. Maybe you modified the code of that module. I looked for that attribute and I can't find it.

Аватар
Отменить
Автор

no i have not modified the code, thats my problem :/

Related Posts Ответы Просмотры Активность
1
июл. 25
4237
1
нояб. 24
1670
1
окт. 24
1998
0
дек. 23
1798
1
сент. 21
9448