Sie sind auf Seite 1von 3

{"message": "Odoo Server Error", "code": 200, &quo

t;data": {"debug": "Traceback (most recent call last):\n Fi


le \"/opt/openerp/code/tms/odoo/addons/report/controllers/main.py\", l
ine 125, in report_download\n
response = self.report_routes(reportname, conve
rter='pdf', **dict(data))\n File \"/opt/openerp/code/tms/odoo/openerp/http
.py\", line 403, in response_wrap\n
response = f(*args, **kw)\n File \&
quot;/opt/openerp/code/tms/odoo/addons/report/controllers/main.py\", line 6
5, in report_routes\n
pdf = report_obj.get_pdf(cr, uid, docids, reportname, d
ata=options_data, context=context)\n File \"/opt/openerp/code/tms/odoo/ope
nerp/api.py\", line 241, in wrapper\n
return old_api(self, *args, **kwar
gs)\n File \"/opt/openerp/code/tms/odoo/addons/report/models/report.py\&qu
ot;, line 191, in get_pdf\n
html = self.get_html(cr, uid, ids, report_name, d
ata=data, context=context)\n File \"/opt/openerp/code/tms/odoo/openerp/api
.py\", line 241, in wrapper\n
return old_api(self, *args, **kwargs)\n F
ile \"/opt/openerp/code/tms/odoo/addons/report/models/report.py\", lin
e 166, in get_html\n
return particularreport_obj.render_html(cr, uid, ids, da
ta=data, context=context)\n File \"/opt/openerp/code/tms/odoo/openerp/api.
py\", line 241, in wrapper\n
return old_api(self, *args, **kwargs)\n Fi
le \"/opt/openerp/code/tms/odoo/addons/report/models/abstract_report.py\&qu
ot;, line 66, in render_html\n
return self.pool['report'].render(cr, uid, [],
self._template, docargs, context=context)\n File \"/opt/openerp/code/tms/
odoo/openerp/api.py\", line 241, in wrapper\n
return old_api(self, *args
, **kwargs)\n File \"/opt/openerp/code/tms/odoo/addons/website_report/repo
rt.py\", line 47, in render\n
return super(Report, self).render(cr, uid,
ids, template, values=values, context=context)\n File \"/opt/openerp/code
/tms/odoo/openerp/api.py\", line 241, in wrapper\n
return old_api(self,
*args, **kwargs)\n File \"/opt/openerp/code/tms/odoo/addons/report/models/
report.py\", line 152, in render\n
return view_obj.render(cr, uid, templ
ate, values, context=context)\n File \"/opt/openerp/code/tms/odoo/openerp/
api.py\", line 241, in wrapper\n
return old_api(self, *args, **kwargs)\n
File \"/opt/openerp/code/tms/odoo/addons/website/models/ir_ui_view.py\&qu
ot;, line 172, in render\n
return super(view, self).render(cr, uid, id_or_xml
_id, values=values, engine=engine, context=context)\n File \"/opt/openerp/
code/tms/odoo/openerp/api.py\", line 241, in wrapper\n
return old_api(se
lf, *args, **kwargs)\n File \"/opt/openerp/code/tms/odoo/openerp/addons/ba
se/ir/ir_ui_view.py\", line 1029, in render\n
return self.pool[engine].r
ender(cr, uid, id_or_xml_id, qcontext, loader=loader, context=context)\n File \
"/opt/openerp/code/tms/odoo/openerp/api.py\", line 241, in wrapper\n
return old_api(self, *args, **kwargs)\n File \"/opt/openerp/code/tms/odo
o/openerp/addons/base/ir/ir_qweb.py\", line 261, in render\n
return self
.render_node(self.get_template(id_or_xml_id, qwebcontext), qwebcontext)\n File
\"/opt/openerp/code/tms/odoo/openerp/addons/base/ir/ir_qweb.py\", line
300, in render_node\n
result = self.render_element(element, template_attribu
tes, generated_attributes, qwebcontext)\n File \"/opt/openerp/code/tms/odo
o/openerp/addons/base/ir/ir_qweb.py\", line 321, in render_element\n
g_i
nner.append(self.render_node(current_node, qwebcontext))\n File \"/opt/ope
nerp/code/tms/odoo/openerp/addons/base/ir/ir_qweb.py\", line 298, in render
_node\n
result = self._render_tag[t_render](self, element, template_attribute
s, generated_attributes, qwebcontext)\n File \"/opt/openerp/code/tms/odoo/
openerp/addons/base/ir/ir_qweb.py\", line 436, in render_tag_call\n
d[0]
= self.render_element(element, template_attributes, generated_attributes, d)\n
File \"/opt/openerp/code/tms/odoo/openerp/addons/base/ir/ir_qweb.py\"
, line 321, in render_element\n
g_inner.append(self.render_node(current_node,
qwebcontext))\n File \"/opt/openerp/code/tms/odoo/openerp/addons/base/ir/
ir_qweb.py\", line 298, in render_node\n
result = self._render_tag[t_ren
der](self, element, template_attributes, generated_attributes, qwebcontext)\n F
ile \"/opt/openerp/code/tms/odoo/openerp/addons/base/ir/ir_qweb.py\",
line 422, in render_tag_foreach\n
ru.append(self.render_element(element, temp
late_attributes, generated_attributes, copy_qwebcontext))\n File \"/opt/op
enerp/code/tms/odoo/openerp/addons/base/ir/ir_qweb.py\", line 321, in rende

r_element\n
g_inner.append(self.render_node(current_node, qwebcontext))\n Fi
le \"/opt/openerp/code/tms/odoo/openerp/addons/base/ir/ir_qweb.py\", l
ine 298, in render_node\n
result = self._render_tag[t_render](self, element,
template_attributes, generated_attributes, qwebcontext)\n File \"/opt/open
erp/code/tms/odoo/openerp/addons/base/ir/ir_qweb.py\", line 367, in render_
tag_raw\n
inner = self.eval_str(template_attributes[\"raw\"], qwebc
ontext)\n File \"/opt/openerp/code/tms/odoo/openerp/addons/base/ir/ir_qweb
.py\", line 213, in eval_str\n
val = self.eval(expr, qwebcontext)\n Fil
e \"/opt/openerp/code/tms/odoo/openerp/addons/base/ir/ir_qweb.py\", li
ne 205, in eval\n
raise_qweb_exception(message=\"Could not evaluate expr
ession %r\" % expr, expression=expr, template=template)\n File \"/opt
/openerp/code/tms/odoo/openerp/addons/base/ir/ir_qweb.py\", line 202, in ev
al\n
return qwebcontext.safe_eval(expr)\n File \"/opt/openerp/code/tms/
odoo/openerp/addons/base/ir/ir_qweb.py\", line 88, in safe_eval\n
return
eval(expr, None, locals_dict, nocopy=True, locals_builtins=True)\n File \&quot
;/opt/openerp/code/tms/odoo/openerp/tools/safe_eval.py\", line 314, in safe
_eval\n
return eval(c, globals_dict, locals_dict)\n File \"\", lin
e 1, in <module>\n File \"/opt/openerp/code/tms/odoo/addons/report/m
odels/report.py\", line 135, in translate_doc\n
return self.translate_do
c(cr, uid, doc_id, model, lang_field, template, values, context=context)\n File
\"/opt/openerp/code/tms/odoo/openerp/api.py\", line 241, in wrapper\n
return old_api(self, *args, **kwargs)\n File \"/opt/openerp/code/tms/o
doo/addons/website_report/report.py\", line 41, in translate_doc\n
retur
n super(Report, self).translate_doc(cr, uid, doc_id, model, lang_field, template
, values, context=context)\n File \"/opt/openerp/code/tms/odoo/openerp/api
.py\", line 241, in wrapper\n
return old_api(self, *args, **kwargs)\n F
ile \"/opt/openerp/code/tms/odoo/addons/report/models/report.py\", lin
e 115, in translate_doc\n
return self.pool['ir.ui.view'].render(cr, uid, temp
late, qcontext, context=ctx)\n File \"/opt/openerp/code/tms/odoo/openerp/a
pi.py\", line 241, in wrapper\n
return old_api(self, *args, **kwargs)\n
File \"/opt/openerp/code/tms/odoo/addons/website/models/ir_ui_view.py\&quo
t;, line 172, in render\n
return super(view, self).render(cr, uid, id_or_xml_
id, values=values, engine=engine, context=context)\n File \"/opt/openerp/c
ode/tms/odoo/openerp/api.py\", line 241, in wrapper\n
return old_api(sel
f, *args, **kwargs)\n File \"/opt/openerp/code/tms/odoo/openerp/addons/bas
e/ir/ir_ui_view.py\", line 1029, in render\n
return self.pool[engine].re
nder(cr, uid, id_or_xml_id, qcontext, loader=loader, context=context)\n File \&
quot;/opt/openerp/code/tms/odoo/openerp/api.py\", line 241, in wrapper\n
return old_api(self, *args, **kwargs)\n File \"/opt/openerp/code/tms/odoo
/openerp/addons/base/ir/ir_qweb.py\", line 261, in render\n
return self.
render_node(self.get_template(id_or_xml_id, qwebcontext), qwebcontext)\n File \
"/opt/openerp/code/tms/odoo/openerp/addons/base/ir/ir_qweb.py\", line
300, in render_node\n
result = self.render_element(element, template_attribut
es, generated_attributes, qwebcontext)\n File \"/opt/openerp/code/tms/odoo
/openerp/addons/base/ir/ir_qweb.py\", line 321, in render_element\n
g_in
ner.append(self.render_node(current_node, qwebcontext))\n File \"/opt/open
erp/code/tms/odoo/openerp/addons/base/ir/ir_qweb.py\", line 300, in render_
node\n
result = self.render_element(element, template_attributes, generated_a
ttributes, qwebcontext)\n File \"/opt/openerp/code/tms/odoo/openerp/addons
/base/ir/ir_qweb.py\", line 321, in render_element\n
g_inner.append(self
.render_node(current_node, qwebcontext))\n File \"/opt/openerp/code/tms/od
oo/openerp/addons/base/ir/ir_qweb.py\", line 300, in render_node\n
resul
t = self.render_element(element, template_attributes, generated_attributes, qweb
context)\n File \"/opt/openerp/code/tms/odoo/openerp/addons/base/ir/ir_qwe
b.py\", line 321, in render_element\n
g_inner.append(self.render_node(cu
rrent_node, qwebcontext))\n File \"/opt/openerp/code/tms/odoo/openerp/addo
ns/base/ir/ir_qweb.py\", line 298, in render_node\n
result = self._rende
r_tag[t_render](self, element, template_attributes, generated_attributes, qwebco
ntext)\n File \"/opt/openerp/code/tms/odoo/openerp/addons/base/ir/ir_qweb.
py\", line 430, in render_tag_if\n
if self.eval_bool(template_attributes

[\"if\"], qwebcontext):\n File \"/opt/openerp/code/tms/odoo/open


erp/addons/base/ir/ir_qweb.py\", line 236, in eval_bool\n
return int(boo
l(self.eval(expr, qwebcontext)))\n File \"/opt/openerp/code/tms/odoo/opene
rp/addons/base/ir/ir_qweb.py\", line 205, in eval\n
raise_qweb_exception
(message=\"Could not evaluate expression %r\" % expr, expression=expr,
template=template)\n File \"/opt/openerp/code/tms/odoo/openerp/addons/bas
e/ir/ir_qweb.py\", line 202, in eval\n
return qwebcontext.safe_eval(expr
)\n File \"/opt/openerp/code/tms/odoo/openerp/addons/base/ir/ir_qweb.py\&q
uot;, line 88, in safe_eval\n
return eval(expr, None, locals_dict, nocopy=Tru
e, locals_builtins=True)\n File \"/opt/openerp/code/tms/odoo/openerp/tools
/safe_eval.py\", line 314, in safe_eval\n
return eval(c, globals_dict, l
ocals_dict)\n File \"\", line 1, in <module>\n File \"/op
t/openerp/code/tms/project/tms_modules/report/support/customer_support_activity.
py\", line 85, in get_consulting_list\n
anal_scndxs_ids = anal_scndxs_po
ol.search(\nQWebException: \"\"'list' object has no attribute 'search'
\" while evaluating\n\"get_activity_type(data['form'],get_consulting_l
ist())\"\" while evaluating\n\"translate_doc(doc_id, doc_model, '
lang', 'tms_modules.report_customer_activity_support_document')\"\n",
"message": "\"\"'list' object has no attribute 'search'
\" while evaluating\n\"get_activity_type(data['form'],get_consulting_l
ist())\"\" while evaluating\n\"translate_doc(doc_id, doc_model, '
lang', 'tms_modules.report_customer_activity_support_document')\"", &q
uot;name": "openerp.addons.base.ir.ir_qweb.QWebException", "
arguments": ["\"\"'list' object has no attribute 'search'\&q
uot; while evaluating\n\"get_activity_type(data['form'],get_consulting_list
())\"\" while evaluating\n\"translate_doc(doc_id, doc_model, 'lan
g', 'tms_modules.report_customer_activity_support_document')\""]}}