From 3563cefecba1d5537140f0cd812004e3ed2bc98b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 15 Dec 2012 22:28:08 +0100 Subject: [PATCH] Fix on_change method signature for AR issue2929 --- doc/ref/models/fields.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/ref/models/fields.rst b/doc/ref/models/fields.rst index 5861aa9f30..9294444435 100644 --- a/doc/ref/models/fields.rst +++ b/doc/ref/models/fields.rst @@ -82,7 +82,7 @@ method ``on_change_`` of the model when the user changes the current field value and will give the values of each fields in this list. The method signature is:: - on_change_(values) + on_change_() This method must return a dictionary with the values of fields to be updated. @@ -102,7 +102,7 @@ around. If this attribute is set, the client will call the method fields defined in the list and will give the values of each fields in this list. The method signature is:: - on_change_with_(values) + on_change_with_() This method must return the new value of the field.