[MIG] server_environment_ir_config_parameter: Migration to 13.0
This commit is contained in:
parent
059c333637
commit
783f41d1cb
|
|
@ -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': [
|
||||
],
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue