Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
816 Lượt xem

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


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ