From 2ffaca8229cc917b2310239e6bd28923a13e1856 Mon Sep 17 00:00:00 2001 From: Simone Orsi Date: Mon, 2 Dec 2024 14:31:29 +0100 Subject: [PATCH] edi_oca: edi_conf avoid clash of label for model fields --- edi_oca/models/edi_configuration.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/edi_oca/models/edi_configuration.py b/edi_oca/models/edi_configuration.py index 0dbc880031..8c2c254a62 100644 --- a/edi_oca/models/edi_configuration.py +++ b/edi_oca/models/edi_configuration.py @@ -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",