Skip to content

Commit

Permalink
[FIX] search_engine_image_thumbnail: fix the domain type for image fi…
Browse files Browse the repository at this point in the history
…elds filter
  • Loading branch information
kobros-tech committed Oct 8, 2024
1 parent 3f452b8 commit 149f692
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def _compute_field_id_domain(self):
for field in domain_fields:
if self._is_field_valid_for_thumbnail(field):
names.append(field.name)
record.field_id_domain = json.dumps(
record.field_id_domain = (
[("name", "in", names), ("model_id", "=", record.model_id.id)]
if names
else FALSE_DOMAIN
Expand Down

0 comments on commit 149f692

Please sign in to comment.