With this commit, we properly introduce the Owl library into our beloved codebase. More information on the Owl library can be found in the project repository: https://github.com/odoo/owl/ Co-authored-by: Aaron Bohy <aab@odoo.com> Co-authored-by: Julien Mougenot <jum@odoo.com> Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com>
15 lines
428 B
JavaScript
15 lines
428 B
JavaScript
// define the 'web.web_client' module because some other modules require it
|
|
odoo.define('web.web_client', async function (require) {
|
|
"use strict";
|
|
|
|
const session = require("web.session");
|
|
const WebClient = require('web.WebClient');
|
|
|
|
const webClient = new WebClient();
|
|
|
|
await session.is_bound;
|
|
session.owlTemplates = session.owlTemplates.replace(/t-transition/g, 'transition');
|
|
|
|
return webClient;
|
|
});
|