From 26dea77c720d4daddf7fb875ccc690bb51edfc09 Mon Sep 17 00:00:00 2001 From: Julien Mougenot Date: Mon, 22 Feb 2021 11:57:54 +0100 Subject: [PATCH] [REF] point_of_sale: clean up assets views This commit handles 2 things: - The line odoo._modules = ; used to be in assets_backend but is now directly added to the web.bootsrap (the odoo index template). Since pos has its own index, we add it there. - An "id" attribute has been removed from a link tag which was used to indentify said link as an xpath target. The xpath has been adapted to target the href instead. This has been done to improve consistency in asset bundles declarations by reducing them to the simplest possible templates. Part of task: 2352566 Co-authored-by: Julien Mougenot Co-authored-by: Simon Genin --- addons/point_of_sale/views/pos_assets_common.xml | 2 +- addons/point_of_sale/views/pos_assets_index.xml | 1 + addons/point_of_sale/views/pos_assets_qunit.xml | 1 + addons/pos_restaurant/views/pos_restaurant_templates.xml | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/addons/point_of_sale/views/pos_assets_common.xml b/addons/point_of_sale/views/pos_assets_common.xml index f86d19640db..102f97e2489 100644 --- a/addons/point_of_sale/views/pos_assets_common.xml +++ b/addons/point_of_sale/views/pos_assets_common.xml @@ -4,7 +4,7 @@