Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion base_comment_template/models/comment_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ class CommentTemplate(models.AbstractModel):
compute_sudo=True,
comodel_name="base.comment.template",
string="Comment Template",
domain=lambda self: [("model_ids", "in", self._name)],
domain=lambda self: self.env["base.comment.template"]._search_model_ids(
"in", self._name
),
Comment thread
pedrobaeza marked this conversation as resolved.
store=True,
readonly=False,
)
Expand Down
Loading