From f002abfda93ec4bfc898aaa76305a6b235b9d856 Mon Sep 17 00:00:00 2001 From: Tom Date: Tue, 6 Dec 2016 17:36:27 +0100 Subject: [PATCH] Review --- intrastat_base/README.rst | 1 + intrastat_base/__init__.py | 1 + intrastat_base/data/country_data.xml | 7 +++--- intrastat_base/tests/__init__.py | 24 ++------------------ intrastat_base/tests/intrastat_base_tests.py | 10 ++------ 5 files changed, 9 insertions(+), 34 deletions(-) diff --git a/intrastat_base/README.rst b/intrastat_base/README.rst index 65531ec..09c5424 100644 --- a/intrastat_base/README.rst +++ b/intrastat_base/README.rst @@ -62,6 +62,7 @@ Contributors * Alexis de Lattre, Akretion * Luc De Meyer, Noviat +* Tom Blauwendraat, Sunflower IT Maintainer ---------- diff --git a/intrastat_base/__init__.py b/intrastat_base/__init__.py index a0fdc10..cde864b 100644 --- a/intrastat_base/__init__.py +++ b/intrastat_base/__init__.py @@ -1,2 +1,3 @@ # -*- coding: utf-8 -*- + from . import models diff --git a/intrastat_base/data/country_data.xml b/intrastat_base/data/country_data.xml index f4f526d..3c75a3a 100644 --- a/intrastat_base/data/country_data.xml +++ b/intrastat_base/data/country_data.xml @@ -1,6 +1,5 @@ - - + @@ -86,5 +85,5 @@ - - + + diff --git a/intrastat_base/tests/__init__.py b/intrastat_base/tests/__init__.py index 1f8b6fc..a2f5bfc 100644 --- a/intrastat_base/tests/__init__.py +++ b/intrastat_base/tests/__init__.py @@ -1,25 +1,5 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# This module created 2014 by Sunflower IT (). -# Sponsored by FreshFilter BV (). -# -# 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 . -# -############################################################################## +# © 2011-2016 Akretion (http://www.akretion.com). +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import intrastat_base_tests - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/intrastat_base/tests/intrastat_base_tests.py b/intrastat_base/tests/intrastat_base_tests.py index 7787c28..eb93462 100644 --- a/intrastat_base/tests/intrastat_base_tests.py +++ b/intrastat_base/tests/intrastat_base_tests.py @@ -1,4 +1,6 @@ # -*- coding: utf-8 -*- +# © 2016 Sunflower IT (http://sunflowerweb.nl). +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from openerp.tests.common import TransactionCase @@ -21,11 +23,3 @@ class TestIntrastatBase(TransactionCase): }) # then check if intrastat_email_list contains the email of the user self.assertEquals(demo_company.intrastat_email_list, demo_user.email) - - - - - - - -