Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
1982 Lượt xem

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 ?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 9 25
426
3
thg 1 22
5239
3
thg 6 16
7630
1
thg 3 15
5945
2
thg 1 25
1311