Skip to content

Commit

Permalink
[IMP] dms_field_auto_classification: Remove warning by several names …
Browse files Browse the repository at this point in the history
…with the same label

WARNING devel odoo.addons.base.models.ir_model: Two fields (model, model_id) of
dms.classification.template() have the same label: Model. [Modules:
dms_field_auto_classification and dms_field_auto_classification]

TT51051
  • Loading branch information
victoralmau committed Sep 30, 2024
1 parent 2295700 commit 678a317
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ class DmsClassificationTemplate(models.Model):
model_id = fields.Many2one(
comodel_name="ir.model", string="Model", domain=[("transient", "=", False)]
)
model = fields.Char(compute="_compute_model", compute_sudo=True)
model = fields.Char(
compute="_compute_model", string="Model name", compute_sudo=True
)
detail_ids = fields.One2many(
string="Details",
comodel_name="dms.classification.template.detail",
Expand Down

0 comments on commit 678a317

Please sign in to comment.