mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] runbot: fix exact rebuild without config_data
This commit is contained in:
parent
7058868c0f
commit
9556723617
@ -14,7 +14,7 @@ class JsonDictField(Field):
|
||||
|
||||
def convert_to_column(self, value, record, values=None, validate=True):
|
||||
val = self.convert_to_cache(value, record, validate=validate)
|
||||
return Json(val) if val else False
|
||||
return Json(val) if val else None
|
||||
|
||||
def convert_to_cache(self, value, record, validate=True):
|
||||
return value.dict if isinstance(value, FieldDict) else value if isinstance(value, dict) else None
|
||||
|
Loading…
Reference in New Issue
Block a user