Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
1630 Visualizações

I restore a DB from odoo SH and I got this error 
Traceback (most recent call last):

  File "/home/ali/odoo/odoo/http.py", line 1990, in __call__

    response = request._serve_db()

  File "/home/ali/odoo/odoo/http.py", line 1584, in _serve_db

    return service_model.retrying(self._serve_ir_http, self.env)

  File "/home/ali/odoo/odoo/service/model.py", line 134, in retrying

    result = func()

  File "/home/ali/odoo/odoo/http.py", line 1613, in _serve_ir_http

    response = self.dispatcher.dispatch(rule.endpoint, args)

  File "/home/ali/odoo/odoo/http.py", line 1726, in dispatch

    return self.request.registry['ir.http']._dispatch(endpoint)

  File "/home/ali/odoo/addons/website/models/ir_http.py", line 235, in _dispatch

    response = super()._dispatch(endpoint)

  File "/home/ali/odoo/odoo/addons/base/models/ir_http.py", line 151, in _dispatch

    result.flatten()

  File "/home/ali/odoo/odoo/http.py", line 1099, in flatten

    self.response.append(self.render())

  File "/home/ali/odoo/odoo/http.py", line 1091, in render

    return request.env["ir.ui.view"]._render_template(self.template, self.qcontext)

  File "/home/ali/odoo/addons/website/models/ir_ui_view.py", line 418, in _render_template

    return super()._render_template(template, values=values)

  File "/home/ali/odoo/odoo/addons/base/models/ir_ui_view.py", line 2120, in _render_template

    return self.env['ir.qweb']._render(template, values)

  File "/home/ali/odoo/odoo/tools/profiler.py", line 292, in _tracked_method_render

    return method_render(self, template, values, **options)

  File "/home/ali/odoo/odoo/addons/base/models/ir_qweb.py", line 579, in _render

    result = ''.join(rendering)

  File "", line 39, in template_2894

  File "", line 28, in template_2894_content

  File "", line 1437, in template_4155

odoo.addons.base.models.ir_qweb.QWebException: Error while render the template

AttributeError: 'website' object has no attribute '_is_indexable_url'

Template: website.layout

Path: /t/html/head/meta[6]

Node:
any solution ?

Avatar
Cancelar
Melhor resposta

Try to update your website module Hope it will solve your problem

Avatar
Cancelar
Melhor resposta

could you solve the problem ??? I have the same error in Odoo16e


Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
3
jan. 22
4779
3
jun. 16
7261
1
mar. 15
5555
2
jan. 25
969
1
jan. 25
1132