تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
1010 أدوات العرض

Hello,

I am currently migrating my database from Odoo 17 to Odoo 18. I've resolved many issues, but now, when I try to log in to Odoo, I encounter a template error.

Could you please guide me on how to fix this error?

Thanks in advance!



2025-01-24 09:58:05,526 397152 ERROR DB_new133 odoo.http: Exception during request handling.

Traceback (most recent call last):

  File "<2678>", line 1610, in template_2678

  File "<2678>", line 1115, in template_2678_content

KeyError: 'website'


The above exception was the direct cause of the following exception:


Traceback (most recent call last):

  File "/home/tato/Desktop/AllOdoo/odoo18/odoo/odoo/ir_qweb.py", line 601, in _render

    result = ''.join(rendering)

             ^^^^^^^^^^^^^^^^^^

  File "<185>", line 237, in template_185

  File "<185>", line 226, in template_185_content

  File "<184>", line 51, in template_184

  File "<184>", line 40, in template_184_content

  File "<2678>", line 1618, in template_2678

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

KeyError: 'website'

Template: website.layout

Path: /t/t[2]

Node: <t t-log="request.env.user._is_public()"/>

الصورة الرمزية
إهمال
أفضل إجابة

Hi,

1. Check if the Website Module is Installed

2. Check if the User Has Website Access

Hope it helps

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أكتوبر 24
708
1
نوفمبر 24
1986
0
أغسطس 24
1190
0
أكتوبر 20
3008
2
يوليو 25
387