Document that _rec_name must point to a Char field

This commit is contained in:
Cédric Krier committed 2024-05-22 15:33:55 +02:00
1 parent 525dd32ffb
commit b3fd5364dc
1 file changed
+2 -1
+2 -1
View File
@@ -35,7 +35,8 @@ Class attributes are:
.. attribute:: Model._rec_name
The name of the field used as name of records.
The name of the :class:`~trytond.model.fields.Char` field used as name of
records.
The default value is ``name``.
.. attribute:: Model.id