From b3fd5364dcec366f9ffdd5c03a76abf33179b8b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 22 May 2024 15:33:55 +0200 Subject: [PATCH] Document that _rec_name must point to a Char field --- trytond/doc/ref/models.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trytond/doc/ref/models.rst b/trytond/doc/ref/models.rst index e0155d2906..3551c5733a 100644 --- a/trytond/doc/ref/models.rst +++ b/trytond/doc/ref/models.rst @@ -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