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.