Document that _rec_name must point to a Char field
This commit is contained in:
1 parent
525dd32ffb
commit
b3fd5364dc
1 file changed
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user