Fix documentation about button name

review3011004
This commit is contained in:
Cédric Krier
2014-01-31 22:29:01 +01:00
parent 2ba9526d37
commit ab0e242bc2
+3 -7
View File
@@ -303,14 +303,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``