mail-addons icon indicating copy to clipboard operation
mail-addons copied to clipboard

[10.0] mail_archives / web_base: error

Open grindtildeath opened this issue 7 years ago • 2 comments

I tried to use the mail_archives module on odoo v10, but there's a JS error appearing as soon as you click on archives :

TypeError: channel is undefined

http://localhost:8069/mail/static/src/js/client_action.js:408
Traceback:
set_channel@http://localhost:8069/mail/static/src/js/client_action.js:408:13
click .o_mail_chat_channel_item@http://localhost:8069/mail/static/src/js/client_action.js:92:13
proxy/<@http://localhost:8069/web/static/src/js/framework/widget.js:398:20
dispatch@http://localhost:8069/web/static/lib/jquery/jquery.js:4640:50
add/elemData.handle@http://localhost:8069/web/static/lib/jquery/jquery.js:4309:41

The reason for it, seems to come from web_base module, more exactly here : https://github.com/it-projects-llc/mail-addons/blob/11.0/mail_base/static/lib/base.js#L14

As odoo doesn't have this class in v10, the module won't be loaded although it gets installed.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

grindtildeath avatar May 28 '18 08:05 grindtildeath

@yelizariev @Railia Is a fix planned on your side ?

grindtildeath avatar Jun 07 '18 14:06 grindtildeath

@Railia try to reproduce the issue

yelizariev avatar Jun 08 '18 09:06 yelizariev