3
0
Fork 0

[PORT] change js and css references, according to V8 system;

9.0
Sylvain LE GAL 2015-07-09 17:32:21 +02:00
parent 5ee8764579
commit 8bf1bc5f20
2 changed files with 32 additions and 5 deletions

View File

@ -63,10 +63,7 @@ Copyright, Author and Licence:
'depends': [
'web',
],
'js': [
'static/src/js/web_listview_custom_element_number.js',
],
'css': [
'static/src/css/web_listview_custom_element_number.css',
'data': [
'views/templates.xml',
],
}

View File

@ -0,0 +1,30 @@
<?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_listview_custom_element_number assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<link rel="stylesheet" href="/web_listview_custom_element_number/static/src/css/web_listview_custom_element_number.css"/>
<script type="text/javascript" src="/web_listview_custom_element_number/static/src/js/web_listview_custom_element_number.js"></script>
</xpath>
</template>
</data>
</openerp>