forked from Techsystech/web
[PORT][WIP] New kind of call for js and css files;
parent
6b377db891
commit
11a6a7061e
|
@ -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',
|
||||
],
|
||||
|
|
|
@ -0,0 +1,33 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--***************************************************************************
|
||||
Web - Custom Element Number in ListView module for Odoo
|
||||
Copyright (C) 2015-Today Akretion (http://www.akretion.com)
|
||||
@author Sylvain LE GAL (https://twitter.com/legalsylvain)
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
published by the Free Software Foundation, either version 3 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
****************************************************************************-->
|
||||
|
||||
<openerp>
|
||||
<data>
|
||||
<template id="assets_backend" name="web_dashboard_tile assets" inherit_id="web.assets_backend">
|
||||
<xpath expr="." position="inside">
|
||||
<link rel="stylesheet"
|
||||
href="/web_dashboard_tile/static/src/css/tile.css"/>
|
||||
<script type="text/javascript"
|
||||
src="/web_dashboard_tile/static/src/js/custom_js.js">
|
||||
</script>
|
||||
</xpath>
|
||||
</template>
|
||||
</data>
|
||||
</openerp>
|
Loading…
Reference in New Issue