From bce30f97f9fea7ca9ae52ce42a3d6acace02ce8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 16 Aug 2023 09:20:09 +0200 Subject: [PATCH] Update _changed_values docstring about Many2Many Since 41f7d6828fcd Many2Many are managed the same way as One2Many. --- trytond/trytond/model/modelview.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/trytond/trytond/model/modelview.py b/trytond/trytond/model/modelview.py index 3a6006a81b..d028a4d6cf 100644 --- a/trytond/trytond/model/modelview.py +++ b/trytond/trytond/model/modelview.py @@ -802,8 +802,7 @@ class ModelView(Model): By default, the value of a field is its internal representation except: - for Many2One and One2One field: the id. - for Reference field: the string model,id - - for Many2Many: the list of ids - - for One2Many: a dictionary composed of three keys: + - for One2Many and Many2Many: a dictionary composed of three keys: - add: a list of tuple, the first element is the index where the new line is added, the second element is `_default_values`