From 798931fc39af963a6fae4feae5e35ccf362f6235 Mon Sep 17 00:00:00 2001 From: Aaron Bohy Date: Wed, 20 May 2020 09:33:04 +0000 Subject: [PATCH] [REF] web(_editor): move jquery.nearest lib to web This lib is also used by the Gantt view, so we move it to the common basis between web_editor and web_gantt, which is web. Part of task 2205607 closes odoo/odoo#51606 Related: odoo/enterprise#9740 Signed-off-by: Lucas Perais (lpe) --- addons/{web_editor => web}/static/lib/nearest/README.md | 0 addons/{web_editor => web}/static/lib/nearest/bower.json | 0 addons/{web_editor => web}/static/lib/nearest/jquery.nearest.js | 0 .../static/lib/nearest/jquery.nearest.min.js | 0 .../{web_editor => web}/static/lib/nearest/nearest.jquery.json | 0 addons/web/views/webclient_templates.xml | 1 + addons/web_editor/views/editor.xml | 2 +- 7 files changed, 2 insertions(+), 1 deletion(-) rename addons/{web_editor => web}/static/lib/nearest/README.md (100%) rename addons/{web_editor => web}/static/lib/nearest/bower.json (100%) rename addons/{web_editor => web}/static/lib/nearest/jquery.nearest.js (100%) rename addons/{web_editor => web}/static/lib/nearest/jquery.nearest.min.js (100%) rename addons/{web_editor => web}/static/lib/nearest/nearest.jquery.json (100%) diff --git a/addons/web_editor/static/lib/nearest/README.md b/addons/web/static/lib/nearest/README.md similarity index 100% rename from addons/web_editor/static/lib/nearest/README.md rename to addons/web/static/lib/nearest/README.md diff --git a/addons/web_editor/static/lib/nearest/bower.json b/addons/web/static/lib/nearest/bower.json similarity index 100% rename from addons/web_editor/static/lib/nearest/bower.json rename to addons/web/static/lib/nearest/bower.json diff --git a/addons/web_editor/static/lib/nearest/jquery.nearest.js b/addons/web/static/lib/nearest/jquery.nearest.js similarity index 100% rename from addons/web_editor/static/lib/nearest/jquery.nearest.js rename to addons/web/static/lib/nearest/jquery.nearest.js diff --git a/addons/web_editor/static/lib/nearest/jquery.nearest.min.js b/addons/web/static/lib/nearest/jquery.nearest.min.js similarity index 100% rename from addons/web_editor/static/lib/nearest/jquery.nearest.min.js rename to addons/web/static/lib/nearest/jquery.nearest.min.js diff --git a/addons/web_editor/static/lib/nearest/nearest.jquery.json b/addons/web/static/lib/nearest/nearest.jquery.json similarity index 100% rename from addons/web_editor/static/lib/nearest/nearest.jquery.json rename to addons/web/static/lib/nearest/nearest.jquery.json diff --git a/addons/web/views/webclient_templates.xml b/addons/web/views/webclient_templates.xml index e02542a2aca..aaf0315bdb8 100644 --- a/addons/web/views/webclient_templates.xml +++ b/addons/web/views/webclient_templates.xml @@ -619,6 +619,7 @@ + diff --git a/addons/web_editor/views/editor.xml b/addons/web_editor/views/editor.xml index ad0e4245b76..0021ee56a3f 100644 --- a/addons/web_editor/views/editor.xml +++ b/addons/web_editor/views/editor.xml @@ -20,7 +20,7 @@