Fix on_change method signature for AR

issue2929
This commit is contained in:
Cédric Krier committed 2012-12-15 22:28:08 +01:00
1 parent 515276a556
commit 3563cefecb
1 file changed
+2 -2
+2 -2
View File
@@ -82,7 +82,7 @@ method ``on_change_<field name>`` 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_<field name>(values)
on_change_<field name>()
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_<field name>(values)
on_change_with_<field name>()
This method must return the new value of the field.