[IMP] web_pwa_oca: Port changes from 12.0

This commit is contained in:
Alexandre D. Díaz
2021-03-16 19:35:31 +01:00
committed by sergio-teruel
parent c1afeed3c1
commit 1194498f2e
29 changed files with 1191 additions and 543 deletions

View File

@@ -0,0 +1,19 @@
/* Copyright 2020 Tecnativa - Alexandre D. Díaz
* License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). */
odoo.define("web_pwa_oca.webclient", function(require) {
"use strict";
var WebClient = require("web.WebClient");
var PWAManager = require("web_pwa_oca.PWAManager");
WebClient.include({
/**
* @override
*/
show_application: function() {
this.pwa_manager = new PWAManager(this);
return this._super.apply(this, arguments);
},
});
});