mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] runbot: avoid empty string in stored compute
This commit is contained in:
parent
2e107111f0
commit
f74391fc13
@ -701,7 +701,7 @@ class ErrorQualifyRegex(models.Model):
|
|||||||
'depends': 'qualifiers',
|
'depends': 'qualifiers',
|
||||||
'compute': f"""
|
'compute': f"""
|
||||||
for error_content in self:
|
for error_content in self:
|
||||||
error_content['x_{field}'] = error_content.qualifiers.get('{field}', '')""",
|
error_content['x_{field}'] = error_content.qualifiers.get('{field}', False)""",
|
||||||
})
|
})
|
||||||
|
|
||||||
@api.constrains('regex')
|
@api.constrains('regex')
|
||||||
|
Loading…
Reference in New Issue
Block a user