fix value/cvalue read

This commit is contained in:
Damien Crier 2022-11-15 09:03:31 +01:00
parent 493b7bd948
commit 351129228b
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ class IrConfigParameter(models.Model):
# *before* the change, so we have to return the database
# value in that case
self.sudo().with_context(_from_get_param=1).set_param(key, cvalue)
value = cvalue
value = cvalue
if value is None:
return default
return value