Skip to content

Commit

Permalink
edi_oca: avoid duplicate field name
Browse files Browse the repository at this point in the history
Avoid warning because of duplicated Model field name while installing this module
  • Loading branch information
petrus-v authored Aug 31, 2023
1 parent a57fb3f commit 9ffa2ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edi_oca/models/edi_exchange_type_rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class EDIExchangeTypeRule(models.Model):
help="Apply to this model",
ondelete="cascade",
)
model = fields.Char(related="model_id.model") # Tech field
model = fields.Char("Model code", related="model_id.model") # Tech field
enable_domain = fields.Char(
string="Enable on domain", help="Filter domain to be checked on Models"
)
Expand Down

0 comments on commit 9ffa2ed

Please sign in to comment.