mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 15:35:46 +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',
|
||||
'compute': f"""
|
||||
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')
|
||||
|
Loading…
Reference in New Issue
Block a user