From 971e1bb35cd507e01377da11bd50e3ac35d15c5b Mon Sep 17 00:00:00 2001 From: Felix Daniel Coca Calvimontes Date: Mon, 14 Oct 2024 13:10:22 +0000 Subject: [PATCH] Update dependencies to include web_leaflet_lib --- web_widget_map/__manifest__.py | 2 +- web_widget_map/static/src/components/widget_map.esm.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web_widget_map/__manifest__.py b/web_widget_map/__manifest__.py index ffafc905afd..005536bbf7d 100644 --- a/web_widget_map/__manifest__.py +++ b/web_widget_map/__manifest__.py @@ -5,7 +5,7 @@ "website": "https://github.com/OCA/web", "category": "Customizations", "version": "17.0.1.0.0", - "depends": ["web", "web_view_leaflet_map"], + "depends": ["web", "web_leaflet_lib"], "assets": { "web.assets_backend": [ "web_widget_map/static/src/components/*", diff --git a/web_widget_map/static/src/components/widget_map.esm.js b/web_widget_map/static/src/components/widget_map.esm.js index a792752dad5..12280ad3a11 100644 --- a/web_widget_map/static/src/components/widget_map.esm.js +++ b/web_widget_map/static/src/components/widget_map.esm.js @@ -51,8 +51,8 @@ export class MapField extends Component { onWillStart(() => Promise.all([ - loadJS("/web_view_leaflet_map/static/lib/leaflet/leaflet.js"), - loadCSS("web_view_leaflet_map/static/lib/leaflet/leaflet.css"), + loadJS("/web_leaflet_lib/static/lib/leaflet/leaflet.js"), + loadCSS("/web_leaflet_lib/static/lib/leaflet/leaflet.css"), ]) );