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

I have a issue with odoo11 11.0-20190411.

Y backup my db with psql console, pg_dump GUI, but the warning continue show in GUI went I move in the main menu:

http://192.168.2.25:8069/web/content/15400-8305866/web.assets_backend.js:2147
Traceback:
TypeError: this.$buttons.off(...).destroy is not a function
    at Class.destroy (http://192.168.2.25:8069/web/content/15400-8305866/web.assets_backend.js:2147:4805)
    at Class.prototype.<computed> [as destroy] (http://192.168.2.25:8069/web/content/15394-bd43684/web.assets_common.js:3816:488)
    at Class.destroy (http://192.168.2.25:8069/web/content/15400-8305866/web.assets_backend.js:406:326)
    at http://192.168.2.25:8069/web/content/15400-8305866/web.assets_backend.js:421:219
    at Function._.map._.collect (http://192.168.2.25:8069/web/content/15394-bd43684/web.assets_common.js:13:270)
    at Class.clear_action_stack (http://192.168.2.25:8069/web/content/15400-8305866/web.assets_backend.js:421:159)
    at Array.<anonymous> (http://192.168.2.25:8069/web/content/15400-8305866/web.assets_backend.js:413:151)
    at fire (http://192.168.2.25:8069/web/content/15394-bd43684/web.assets_common.js:796:299)
    at Object.fireWith [as resolveWith] (http://192.168.2.25:8069/web/content/15394-bd43684/web.assets_common.js:801:198)
    at Array.deferred.<computed> (http://192.168.2.25:8069/web/content/15394-bd43684/web.assets_common.js:803:56)
This error doesn't appear in the production server, just appear in the database I restore from the backup from the production server.

I still don't found what is causing this issue.

This server run under Ubuntu 18.04.3 LTS.

Any help will be appreciated, thanks!!!


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

It is impossible to guess the cause with this information only. Try to make a backup from The GUI and then restore from the GUI also.

Same issue here,

Any idea?

Please help,

Thanks in advance.

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

In case that anyone still face this problem. 

In my case, I have a docker installation of Odoo 12. I didn't notice that the addons folder was empty: Specially in this case you need the "web" module to work correctly. 

A way to check it is going to any addon and look if the description looks right, so you will know that that addon is missing or have a problem if the description is showed as an html /xml code.

Hope it helps to someone. 

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

I've resolved it by activating the developer mode and then upgrading the module. I know it's pretty awkward but this is how it resolved.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 12 20
2864
0
thg 2 20
1316
2
thg 10 19
7275
1
thg 3 19
8222
1
thg 4 23
8175