Closed luisg123v closed 3 years ago
When a related field is declared, the string attribute is taken by default from the referenced field, so redefining the string is a valid case. For instance:
string
parent_date = fields.Date( related="parent_id.date", string="parent date", )
If a string is not specified, field will be "Date". But if I need the string to be "Parent Date", the lint is triggered.
CC @hbto @moylop260 @fernandahf
When a related field is declared, the
string
attribute is taken by default from the referenced field, so redefining the string is a valid case. For instance:If a string is not specified, field will be "Date". But if I need the string to be "Parent Date", the lint is triggered.