Skip to Content
Menu
This question has been flagged
1 Reply
629 Views

Here is one of the errors that is occurring:

UncaughtPromiseError > TypeError

Uncaught Promise > this.discussCoreCommonService.createChannelThread is not a function


TypeError: this.discussCoreCommonService.createChannelThread is not a function
    at http://172.24.125.50:8069/web/assets/e3bc3c7/web.assets_web.min.js:14759:136


Avatar
Discard
Best Answer

Hello,

Maybe there was an error before it.

So the "discussCoreCommonService" object was not loaded.


If it is the first error. You can try to add the line:

import { DiscussCoreCommon} from "../common/discuss_core_common_service";


before the line:

export class ChannelSelector extends Component {


in the file:

odoo/addons/mail/static/src/discuss/core/web/channel_selector.js


Then refresh your browser cache to make it load the updated .js file.

Or enable odoo debug mode with assets. 


Stanislav

Avatar
Discard