From bbf50988a34ec46c1fa0b6654edac61184d2162d Mon Sep 17 00:00:00 2001 From: Akim Juillerat Date: Tue, 29 May 2018 14:20:11 +0200 Subject: [PATCH] [MIG] configuration_helper: Migration to 11.0 --- configuration_helper/__manifest__.py | 11 +++-------- configuration_helper/models/config.py | 8 ++++---- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/configuration_helper/__manifest__.py b/configuration_helper/__manifest__.py index 37552c3d2..e34b1276b 100644 --- a/configuration_helper/__manifest__.py +++ b/configuration_helper/__manifest__.py @@ -1,18 +1,13 @@ -# -*- coding: utf-8 -*- -# © 2014 David BEAL Akretion +# Copyright 2014 David BEAL Akretion # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). {'name': 'Configuration Helper', - 'version': '10.0.1.0.0', + 'version': '11.0.1.0.0', 'author': "Akretion,Odoo Community Association (OCA)", 'maintainer': 'Akretion', 'category': 'server', - 'complexity': 'normal', 'depends': ['base'], - 'website': 'http://www.akretion.com/', - 'data': [], - 'tests': [], + 'website': 'https://github.com/OCA/server-tools', 'installable': True, 'auto_install': False, 'license': 'AGPL-3', - 'application': False, } diff --git a/configuration_helper/models/config.py b/configuration_helper/models/config.py index 27debf9a7..d9dd18381 100644 --- a/configuration_helper/models/config.py +++ b/configuration_helper/models/config.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # © 2014 David BEAL Akretion # © 2016 Yannick Vaucher (Camptocamp SA) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). @@ -30,10 +29,11 @@ class AbstractConfigSettings(models.AbstractModel): return True @api.model - def _setup_base(self, partial): + def _setup_base(self): + import pdb; pdb.set_trace() cls = type(self) - super(AbstractConfigSettings, self)._setup_base(partial) - if not self._companyObject: + super(AbstractConfigSettings, self)._setup_base() + if not cls._companyObject: return if cls._setup_extra_done: return