Skip to Content
Menu
This question has been flagged
1 Atsakyti
810 Rodiniai

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


Portretas
Atmesti
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

Portretas
Atmesti