Skip to content

Commit

Permalink
Merge PR #1449 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Sep 30, 2024
2 parents dfb3ab3 + a7eb2ed commit d082aef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mail_activity_plan/models/mail_activity_plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ class MailActivityPlan(models.Model):
active = fields.Boolean(default=True)
name = fields.Char(required=True)
sequence = fields.Integer(required=True, default=10)
model = fields.Char(compute="_compute_model", compute_sudo=True, store=True)
model = fields.Char(
compute="_compute_model", string="Model name", compute_sudo=True, store=True
)
model_id = fields.Many2one(
comodel_name="ir.model",
domain=[("transient", "=", False), ("model", "not like", "ir.")],
Expand Down

0 comments on commit d082aef

Please sign in to comment.