From b0086cf8e028faef31c1e445d6996d69d440ce3c Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Thu, 15 Dec 2016 11:13:26 +0100 Subject: [PATCH] Move account_fiscal_position_translate in account_usability Update code conventions in base_company_extension --- base_company_extension/__manifest__.py | 26 ++++--------------------- base_company_extension/company.py | 25 ++++-------------------- base_company_extension/company_view.xml | 10 +++------- 3 files changed, 11 insertions(+), 50 deletions(-) diff --git a/base_company_extension/__manifest__.py b/base_company_extension/__manifest__.py index 4db2e51..9c9887b 100644 --- a/base_company_extension/__manifest__.py +++ b/base_company_extension/__manifest__.py @@ -1,29 +1,11 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# Base Company Extension module for Odoo -# Copyright (C) 2014-2015 Akretion (http://www.akretion.com) -# @author Alexis de Lattre -# -# 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 . -# -############################################################################## - +# © 2014-2016 Akretion (http://www.akretion.com) +# @author Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { 'name': 'Base Company Extension', - 'version': '0.1', + 'version': '10.0.1.0.0', 'category': 'Partner', 'license': 'AGPL-3', 'summary': 'Adds capital and title on company', diff --git a/base_company_extension/company.py b/base_company_extension/company.py index 277728e..72bf3f6 100644 --- a/base_company_extension/company.py +++ b/base_company_extension/company.py @@ -1,26 +1,9 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# Base Company Extension module for Odoo -# Copyright (C) 2014-2015 Akretion (http://www.akretion.com) -# @author Alexis de Lattre -# -# 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 . -# -############################################################################## +# © 2014-2016 Akretion (http://www.akretion.com) +# @author Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from openerp import models, fields +from odoo import models, fields class ResCompany(models.Model): diff --git a/base_company_extension/company_view.xml b/base_company_extension/company_view.xml index 1e96d6a..da447c8 100644 --- a/base_company_extension/company_view.xml +++ b/base_company_extension/company_view.xml @@ -1,13 +1,11 @@ - - company.extension.form @@ -21,6 +19,4 @@ - -