From 1651d2adca60d3052e85ce7da2b2e3f75ea7d9ab Mon Sep 17 00:00:00 2001 From: Alex Comba Date: Fri, 29 Apr 2016 10:47:52 +0200 Subject: [PATCH] Fix minor issues and use short header --- account_financial_test_data/__init__.py | 2 ++ account_financial_test_data/__openerp__.py | 22 ++----------------- .../data/partners_data.xml | 5 +++++ .../models/__init__.py | 3 +++ .../models/account_installer.py | 5 ++++- account_financial_test_data/pos_install.py | 4 ++++ 6 files changed, 20 insertions(+), 21 deletions(-) diff --git a/account_financial_test_data/__init__.py b/account_financial_test_data/__init__.py index fddd5ef9..997f4f71 100644 --- a/account_financial_test_data/__init__.py +++ b/account_financial_test_data/__init__.py @@ -1,4 +1,6 @@ # -*- coding: utf-8 -*- +# © 2016 Taktik +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import models from . pos_install import post_init_hook diff --git a/account_financial_test_data/__openerp__.py b/account_financial_test_data/__openerp__.py index eb4044f0..f1af1f4b 100644 --- a/account_financial_test_data/__openerp__.py +++ b/account_financial_test_data/__openerp__.py @@ -1,22 +1,6 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# -# 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 . -# -############################################################################## +# © 2016 Taktik +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { 'name': 'Account financial test data', @@ -25,8 +9,6 @@ 'author': "Taktik, Odoo Community Association (OCA)", 'category': 'Other', 'depends': [ - "base", - "account", "account_accountant", "l10n_fr", ], diff --git a/account_financial_test_data/data/partners_data.xml b/account_financial_test_data/data/partners_data.xml index a529e047..9ffefb7e 100644 --- a/account_financial_test_data/data/partners_data.xml +++ b/account_financial_test_data/data/partners_data.xml @@ -23,6 +23,7 @@ + PARTNER C @@ -33,6 +34,7 @@ + PARTNER D @@ -43,6 +45,7 @@ + PARTNER E @@ -53,6 +56,7 @@ + PARTNER F @@ -63,6 +67,7 @@ + PARTNER G diff --git a/account_financial_test_data/models/__init__.py b/account_financial_test_data/models/__init__.py index 71f1420d..19e10397 100644 --- a/account_financial_test_data/models/__init__.py +++ b/account_financial_test_data/models/__init__.py @@ -1,3 +1,6 @@ # -*- coding: utf-8 -*- +# © 2016 Taktik +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +from . import model_name from . import account_installer diff --git a/account_financial_test_data/models/account_installer.py b/account_financial_test_data/models/account_installer.py index feb90341..ce26de83 100644 --- a/account_financial_test_data/models/account_installer.py +++ b/account_financial_test_data/models/account_installer.py @@ -1,5 +1,8 @@ # -*- coding: utf-8 -*- -import logging +# © 2016 Taktik +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import model_nameimport logging from openerp.osv import orm from openerp import models, api diff --git a/account_financial_test_data/pos_install.py b/account_financial_test_data/pos_install.py index b554cbcf..7fbd15c7 100644 --- a/account_financial_test_data/pos_install.py +++ b/account_financial_test_data/pos_install.py @@ -3,6 +3,10 @@ from datetime import date, datetime from openerp import SUPERUSER_ID, api +# -*- coding: utf-8 -*- +# © 2016 Taktik +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + def post_init_hook(cr, registry): def update_partners():