Browse Source

[MIG] configuration_helper: Migration to 11.0

12.0-mig-module_prototyper_last
Akim Juillerat 6 years ago
committed by sebalix
parent
commit
bbf50988a3
  1. 11
      configuration_helper/__manifest__.py
  2. 8
      configuration_helper/models/config.py

11
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,
}

8
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

Loading…
Cancel
Save