Skip to content

Commit

Permalink
edi_oca: edi_conf avoid clash of label for model fields
Browse files Browse the repository at this point in the history
  • Loading branch information
simahawk committed Dec 2, 2024
1 parent 040b1db commit 2ffaca8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion edi_oca/models/edi_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ class EdiConfiguration(models.Model):
string="Model",
help="Model the conf applies to. Leave blank to apply for all models",
)
model_name = fields.Char(related="model_id.model", store=True)
model_name = fields.Char(
related="model_id.model", store=True, string="Model tech name"
)
trigger_id = fields.Many2one(
string="Trigger",
comodel_name="edi.configuration.trigger",
Expand Down

0 comments on commit 2ffaca8

Please sign in to comment.