Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
630 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona