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,
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
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
Aanmelden
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.