From 41ae9fe011dd39754aa3164ac3188ecdaaa95abd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Debongnie?= Date: Mon, 24 Apr 2023 14:38:44 +0000 Subject: [PATCH] [IMP] web: update owl from 2.1.1 to 2.1.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This release only contains a bug fix: [FIX] t-out: does not crash when outputting null See https://github.com/odoo/owl/releases/tag/v2.1.2 for more details. closes odoo/odoo#119582 X-original-commit: 363f946b13c268a280a03b57ad9ba94f60feaaa5 Signed-off-by: Samuel Degueldre Signed-off-by: Géry Debongnie --- addons/web/static/lib/owl/owl.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/web/static/lib/owl/owl.js b/addons/web/static/lib/owl/owl.js index 0cc854ee6f1..fcbb39c1a16 100644 --- a/addons/web/static/lib/owl/owl.js +++ b/addons/web/static/lib/owl/owl.js @@ -3020,7 +3020,7 @@ * Safely outputs `value` as a block depending on the nature of `value` */ function safeOutput(value, defaultValue) { - if (value === undefined) { + if (value === undefined || value === null) { return defaultValue ? toggler("default", defaultValue) : toggler("undefined", text("")); } let safeKey; @@ -5509,7 +5509,7 @@ } // do not modify manually. This file is generated by the release script. - const version = "2.1.1"; + const version = "2.1.2"; // ----------------------------------------------------------------------------- // Scheduler @@ -5959,8 +5959,8 @@ See https://github.com/odoo/owl/blob/${hash}/doc/reference/app.md#configuration Object.defineProperty(exports, '__esModule', { value: true }); - __info__.date = '2023-04-17T09:18:31.682Z'; - __info__.hash = '4b9e6ba'; + __info__.date = '2023-04-24T14:30:33.579Z'; + __info__.hash = '63128b7'; __info__.url = 'https://github.com/odoo/owl';