From 45e23193de889a8fef47d4e6cb883d56e2e4675b Mon Sep 17 00:00:00 2001 From: Kelly Lougheed Date: Wed, 8 Mar 2017 10:41:58 -0800 Subject: [PATCH] [10.0][MIG] web_widget_datepicker_options: Migrate to 10.0 --- web_widget_datepicker_options/__manifest__.py | 4 ++-- .../web_widget_datepicker_options_demo.xml | 2 ++ .../static/src/js/datepicker.js | 20 +++---------------- ...=> web_widget_datepicker_options_view.xml} | 4 ++++ 4 files changed, 11 insertions(+), 19 deletions(-) rename web_widget_datepicker_options/view/{qweb.xml => web_widget_datepicker_options_view.xml} (88%) diff --git a/web_widget_datepicker_options/__manifest__.py b/web_widget_datepicker_options/__manifest__.py index 2d27257b..7180b076 100644 --- a/web_widget_datepicker_options/__manifest__.py +++ b/web_widget_datepicker_options/__manifest__.py @@ -4,13 +4,13 @@ { "name": 'web_widget_datepicker_options', - "version": "9.0.1.0.0", + "version": "10.0.1.0.0", "depends": [ 'base', 'web', ], "data": [ - 'view/qweb.xml', + 'view/web_widget_datepicker_options_view.xml', 'demo/web_widget_datepicker_options_demo.xml' ], "author": "Vincent Vinet, " diff --git a/web_widget_datepicker_options/demo/web_widget_datepicker_options_demo.xml b/web_widget_datepicker_options/demo/web_widget_datepicker_options_demo.xml index a8568b61..0b9c1906 100644 --- a/web_widget_datepicker_options/demo/web_widget_datepicker_options_demo.xml +++ b/web_widget_datepicker_options/demo/web_widget_datepicker_options_demo.xml @@ -1,6 +1,7 @@ + datepicker_options res.users @@ -15,4 +16,5 @@ + diff --git a/web_widget_datepicker_options/static/src/js/datepicker.js b/web_widget_datepicker_options/static/src/js/datepicker.js index 6dc20939..31745faf 100644 --- a/web_widget_datepicker_options/static/src/js/datepicker.js +++ b/web_widget_datepicker_options/static/src/js/datepicker.js @@ -1,22 +1,8 @@ /* - OpenERP, Open Source Management Solution - This module copyright (C) 2015 Savoir-faire Linux - (). - - 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 . + Copyright 2015 Savoir-faire Linux + GNU Affero General Public License version 3 or later + http://www.gnu.org/licenses/ */ -/*global openerp, _, $ */ odoo.define('web_widget_datepicker_options', function (require) { diff --git a/web_widget_datepicker_options/view/qweb.xml b/web_widget_datepicker_options/view/web_widget_datepicker_options_view.xml similarity index 88% rename from web_widget_datepicker_options/view/qweb.xml rename to web_widget_datepicker_options/view/web_widget_datepicker_options_view.xml index 67c430d2..81c5de7d 100644 --- a/web_widget_datepicker_options/view/qweb.xml +++ b/web_widget_datepicker_options/view/web_widget_datepicker_options_view.xml @@ -1,8 +1,12 @@ + + + +