Browse Source

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

pull/172/head
Sylvain LE GAL 10 years ago
parent
commit
8bf1bc5f20
  1. 7
      web_listview_custom_element_number/__openerp__.py
  2. 30
      web_listview_custom_element_number/views/templates.xml

7
web_listview_custom_element_number/__openerp__.py

@ -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',
],
}

30
web_listview_custom_element_number/views/templates.xml

@ -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>
Loading…
Cancel
Save