跳至內容
選單
此問題已被標幟
1 回覆
818 瀏覽次數

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


頭像
捨棄
最佳答案

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

頭像
捨棄