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

 Hi guys,

I just got the 500 internal server error after installing a backend theme, the front-end is accessible as well as database manager and any other cronjobs, but the admin is not working, I tried to uninstall the module via command line or database but with no success !


Can you please help ?

LOG / ODOO 11.0 : 

File "<template>", line 2, in body_call_content_268

    

  File "C:\Program Files (x86)\Odoo 11.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 348, in _compiled_fn

    raise QWebException("Error to render compiling AST", e, path, node and etree.tostring(node[0], encoding='unicode'), name)

odoo.addons.base.ir.ir_qweb.qweb.QWebException: 'NoneType' object is not subscriptable

Traceback (most recent call last):

  File "C:\Program Files (x86)\Odoo 11.0\server\odoo\addons\base\ir\ir_qweb\qweb.py", line 341, in _compiled_fn

    return compiled(self, append, new, options, log)

  File "<template>", line 1, in template_web_menu_secondary_299

TypeError: 'NoneType' object is not subscriptable


Error to render compiling AST

TypeError: 'NoneType' object is not subscriptable

Template: web.menu_secondary

Path: /templates/t/ul/t

Node: <t t-foreach="menu['children']" t-as="menu">

                <li>

                    <t t-if="menu['children']">

                        <a>

                            <t t-esc="menu['name']"/>

                            <span class="fa arrow"/>

                        </a>

                    </t>

                    <t t-if="not menu['children']">

                        <t t-call="web.menu_link"/>

                    </t>

                    <t t-call="web.menu_secondary_submenu"/>

                </li>

            </t>

الصورة الرمزية
إهمال

Hello Jhonas,

You have to inactive the Qweb template(Theme Override template). which ODOO backed theme you had installed?

الكاتب أفضل إجابة

Thank you Dharmesh for your response, but it's not related to Qweb, when I create a new database odoo works fine with same files ?
Otherwise there is a way to inactivate Qweb theme with commande lines on windows ?

الصورة الرمزية
إهمال