Fix documentation about button name

review3011004
(transplanted from 97ae3a1a8a01e1272b91bc0457f3d71bbc9f057c)
This commit is contained in:
Cédric Krier committed 2014-01-31 22:29:01 +01:00
1 parent c826d428e4
commit cced058d16
1 file changed
+3 -7
+3 -7
View File
@@ -290,14 +290,10 @@ Display a button.
* ``string``: The string that will be displayed inside the button.
* ``name``: The name of the action:
* ``name``: The name of the function that will be called. The function must
have this syntax:
* ``object``: the name of the function that will called. The function
must have this syntax:
``button(self, ids)``
* ``action``: the id of the ir.action that will be called.
``button(cls, records)``
* ``icon``