Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
1656 Visualizzazioni

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
Abbandona
Risposta migliore

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

Avatar
Abbandona
Risposta migliore

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


Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
3
gen 22
4805
3
giu 16
7276
1
mar 15
5575
2
gen 25
996
1
gen 25
1168