mirror of https://github.com/OCA/social.git
[IMP] mail_activity_plan: Remove warning by several names with the same label
WARNING devel odoo.addons.base.models.ir_model: Two fields (model_id, model) of mail.activity.plan() have the same label: Model. [Modules: mail_activity_plan and mail_activity_plan] TT51051pull/1449/head
parent
dfb3ab3566
commit
a7eb2edb03
|
@ -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.")],
|
||||
|
|
Loading…
Reference in New Issue