콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
847 화면

hi,

i tried to load Webclient like

var WebClient = require('web.WebClient'); 

but in console of the dev tools i get 

missing: ['web.WebClient'] 

Has the Webclient of Odoo 16 changed?

How can i load the Webclient?

thx for answers

아바타
취소
베스트 답변

Hi,

In odoo 16 WebClient is imported like this way:

import { WebClient } from "@web/webclient/webclient";

Hope it helps

아바타
취소