From 4370ef04c0b12e777f5b6b34b8290fe0fb048ec0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 24 Dec 2022 10:49:14 +0100 Subject: [PATCH] Document how to trigger the save of container fields Closes #11933 --- trytond/doc/ref/models.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/trytond/doc/ref/models.rst b/trytond/doc/ref/models.rst index 86ad287a36..700a33804e 100644 --- a/trytond/doc/ref/models.rst +++ b/trytond/doc/ref/models.rst @@ -472,6 +472,11 @@ Dual methods: Save the modification made on the records. + .. warning:: + + Fields that have a container as a value must be reassigned to the parent + record in order to be saved when the parent record is saved. + Instance methods: .. method:: ModelStorage.resources()