summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfwi-odoo <fwi@odoo.com>2016-07-20 15:02:19 +0200
committerThibault Delavallée <tde@openerp.com>2016-08-03 13:42:06 +0200
commitd8b652d706fcd9b89eb95f70aebb16926d0c5deb (patch)
tree0eec8ee351573c76a9d6f08abc0069144e67c4b1
parentd4e813b87336984d52d9ebaeb7db16e0203013f6 (diff)
[MOV][IMP] web_calendar: rename files according to guidelines, replace openerp and add license
-rw-r--r--addons/web_calendar/__init__.py2
-rw-r--r--addons/web_calendar/__openerp__.py5
-rw-r--r--addons/web_calendar/views/web_calendar_templates.xml (renamed from addons/web_calendar/views/web_calendar.xml)6
3 files changed, 8 insertions, 5 deletions
diff --git a/addons/web_calendar/__init__.py b/addons/web_calendar/__init__.py
index e69de29bb2d..67dee8c60db 100644
--- a/addons/web_calendar/__init__.py
+++ b/addons/web_calendar/__init__.py
@@ -0,0 +1,2 @@
+# -*- coding: utf-8 -*-
+# Part of Odoo. See LICENSE file for full copyright and licensing details.
diff --git a/addons/web_calendar/__openerp__.py b/addons/web_calendar/__openerp__.py
index be0bbf69dab..4134668c732 100644
--- a/addons/web_calendar/__openerp__.py
+++ b/addons/web_calendar/__openerp__.py
@@ -1,3 +1,6 @@
+# -*- coding: utf-8 -*-
+# Part of Odoo. See LICENSE file for full copyright and licensing details.
+
{
'name': 'Web Calendar',
'category': 'Hidden',
@@ -10,7 +13,7 @@ Odoo Web Calendar view.
'version': '2.0',
'depends': ['web'],
'data' : [
- 'views/web_calendar.xml',
+ 'views/web_calendar_templates.xml',
],
'qweb': [
'static/src/xml/*.xml',
diff --git a/addons/web_calendar/views/web_calendar.xml b/addons/web_calendar/views/web_calendar_templates.xml
index 60949374acf..23290e08c87 100644
--- a/addons/web_calendar/views/web_calendar.xml
+++ b/addons/web_calendar/views/web_calendar_templates.xml
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<openerp>
- <data>
+<odoo>
<template id="assets_backend" name="web_calendar assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<link rel="stylesheet" href="/web_calendar/static/src/less/web_calendar.less"/>
@@ -11,5 +10,4 @@
<script type="text/javascript" src="/web_calendar/static/src/js/web_calendar.js"></script>
</xpath>
</template>
- </data>
-</openerp>
+</odoo>