Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
8792 Zobrazení

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


Avatar
Zrušit

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.

Nejlepší odpověď

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. 

Avatar
Zrušit
Nejlepší odpověď

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.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
pro 20
2705
0
úno 20
1316
2
říj 19
6910
1
bře 19
7955
1
dub 23
7817