From 8a2e575814fbae9b000b84be546267922774f1ae Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Fri, 17 Jul 2015 09:43:34 +0200 Subject: [PATCH] [PORT][WIP] New kind of call for js and css files; --- web_dashboard_tile/__openerp__.py | 7 +----- web_dashboard_tile/view/templates.xml | 33 +++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 6 deletions(-) create mode 100644 web_dashboard_tile/view/templates.xml diff --git a/web_dashboard_tile/__openerp__.py b/web_dashboard_tile/__openerp__.py index d0f8cf41..bd33b959 100644 --- a/web_dashboard_tile/__openerp__.py +++ b/web_dashboard_tile/__openerp__.py @@ -73,19 +73,14 @@ possible future improvments: """, 'data': [ 'view/tile.xml', + 'view/templates.xml', 'security/ir.model.access.csv', 'security/rules.xml', ], - 'css': [ - 'static/src/css/tile.css', - ], 'demo': [ 'demo/res_groups.yml', 'demo/tile_tile.yml', ], - 'js': [ - 'static/src/js/custom_js.js', - ], 'qweb': [ 'static/src/xml/custom_xml.xml', ], diff --git a/web_dashboard_tile/view/templates.xml b/web_dashboard_tile/view/templates.xml new file mode 100644 index 00000000..e7a68b21 --- /dev/null +++ b/web_dashboard_tile/view/templates.xml @@ -0,0 +1,33 @@ + + + + + + + +