Skip to content

Commit

Permalink
[FIX] base_multi_image: LazyTranslate
Browse files Browse the repository at this point in the history
  • Loading branch information
oerp-odoo committed Feb 20, 2025
1 parent f6069df commit cf8ff4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion base_multi_image/models/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
)

_logger = logging.getLogger(__name__)
_lt = tools.LazyTranslate(__name__, default_lang="en_US")


class Image(models.Model):
Expand All @@ -35,7 +36,7 @@ class Image(models.Model):
(
"uniq_name_owner",
"UNIQUE(owner_id, owner_model, name)",
_("A document can have only one image with the same name."),
_lt("A document can have only one image with the same name."),
),
]

Expand Down

0 comments on commit cf8ff4c

Please sign in to comment.