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

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!!!


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

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.

أفضل إجابة

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. 

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

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.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
ديسمبر 20
2863
0
فبراير 20
1316
2
أكتوبر 19
7266
1
مارس 19
8221
1
أبريل 23
8175