Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
5 Trả lời
20738 Lượt xem
Traceback:
TypeError: Cannot read property 'bind' of undefined
    at http://localhost:8069/web_editor/static/src/js/wysiwyg/root.js:46:57
    at Function._.each._.forEach (http://localhost:8069/web/static/lib/underscore/underscore.js:145:9)
    at http://localhost:8069/web_editor/static/src/js/wysiwyg/root.js:45:15
    at async Class._startEditMode (http://localhost:8069/website/static/src/js/menu/edit.js:103:9)
    at async Promise.all (index 1)
    at async Promise.all (index 0)
Couldn't edit my website, while clicking edit button in my website, getting this error. I tried removing my custom built module too. Still getting the same error. Can anybody figure out what this error for and how should it be resolved? It happened after making some changes in the template I have created. I have undone my changes once I faced the error. Still, it shows the error. Is there any wrong in my template?
Here is my template

<template id="head" name="Header">

    <section class="headers">
        <div>  
        <ul class="menu-head">
            <li class="menu-list-head">
                <a href="home">Home</a>
            </li>
            <li class="menu-list-head">
                <a href="games" class="menu-head-parent">Games</a>
                <ul class="hide" style="float: none; width: 12em;">
                    <li class="hide-menu-list">
                        <a href="indoor">Indoor</a>
                    </li>
                    <li class="hide-menu-list">
                        <a href="outdoor">Outdoor</a>
                    </li>
                </ul>
            </li>
            <li class="menu-list-head">
                <a href="contact">Contact us</a>
            </li>
            <li class="menu-list-head">
                <a href="members">Members</a>
            </li>
        </ul>
    </div>
</section>
</template>
<template id="place_into_bar7" inherit_id="website.snippets" name="Place into bar7">     <xpath expr="//div[@id='snippet_structure']/div[@class='o_panel_body']" position="inside">
        <t t-snippet="theme_variant.head"/>
    </xpath>
</template>
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi! WE HAVE SOLUTION! I described it on GitHub ->

https://github.com/odoo/odoo/issues/55226 

:D

Ảnh đại diện
Huỷ bỏ

This solution was very helpful to me, thank you.

Tác giả Câu trả lời hay nhất

This error gets solved when I deleted all my cookies and created a new database. I don't know why this error occured. If anyone find an answer, please give me some suggestions.

Ảnh đại diện
Huỷ bỏ

Im with the same problem too

Tác giả

Is this helping you out? or it couldn't solve the problem?

Câu trả lời hay nhất

I have the same error when opening one of Scheduled Task records. 

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 11 21
2494
8
thg 3 20
3960
0
thg 10 19
3283
0
thg 10 19
3832
4
thg 3 20
3764