[MOV] google_calendar: moved models and data file in to models and data directory

This commit is contained in:
Mohammed Shekha
2016-08-08 16:07:07 +02:00
committed by Jérome Maes
parent 29796b58dd
commit d624fdd250
10 changed files with 12 additions and 8 deletions
+1 -2
View File
@@ -1,3 +1,2 @@
import res_config
import google_calendar
import controllers
import models
+5 -5
View File
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
{
'name': 'Google Calendar',
'version': '1.0',
@@ -14,11 +13,12 @@ The module adds the possibility to synchronize Google Calendar with Odoo
'depends': ['google_account', 'calendar'],
'qweb': ['static/src/xml/*.xml'],
'data': [
'res_config_view.xml',
'data/google_calendar_data.xml',
'data/google_calendar_data.xml',
'security/ir.model.access.csv',
'views/google_calendar.xml',
'views/res_users.xml',
'google_calendar.xml',
'views/res_config_views.xml',
'views/res_users_views.xml',
'views/google_calendar_templates.xml',
],
'demo': [],
'installable': True,
@@ -0,0 +1,5 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
import google_calendar
import res_config
@@ -3,7 +3,7 @@
<template id="assets_backend" name="google_calendar assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<link rel="stylesheet" href="/google_calendar/static/src/less/google_calendar.less"/>
<script type="text/javascript" src="/google_calendar/static/src/js/calendar_sync.js"></script>
<script type="text/javascript" src="/google_calendar/static/src/js/google_calendar.js"></script>
</xpath>
</template>
</odoo>