[MIG] server_environment_ir_config_parameter: Migration to 13.0

This commit is contained in:
Akim Juillerat 2019-10-09 16:41:40 +02:00 committed by Benoit Aimont
parent 059c333637
commit 783f41d1cb
2 changed files with 1 additions and 6 deletions

View File

@ -5,15 +5,11 @@
'name': 'Server Environment Ir Config Parameter',
'summary': """
Override System Parameters from server environment file""",
'version': '12.0.1.0.0',
'version': '13.0.1.0.0',
'license': 'AGPL-3',
'author': 'ACSONE SA/NV, Odoo Community Association (OCA)',
'website': 'https://github.com/OCA/server-env/',
'depends': [
'server_environment',
],
'data': [
],
'demo': [
],
}

View File

@ -41,7 +41,6 @@ class IrConfigParameter(models.Model):
vals = dict(vals, value=serv_config.get(SECTION, key))
return super().create(vals)
@api.multi
def write(self, vals):
for rec in self:
key = vals.get('key') or rec.key