[FIX] reference/services: mark optional the params
parameter of rpc
closes odoo/documentation#4282
X-original-commit: c1b38dc1f3
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
parent
b1a76aec63
commit
8c29d1fd6a
@ -639,8 +639,8 @@ API
|
||||
.. js:function:: rpc(route, params, settings)
|
||||
|
||||
:param string route: route targeted by the request
|
||||
:param Object params: parameters sent to the server
|
||||
:param Object settings (optional): request settings (see below)
|
||||
:param Object params: (optional) parameters sent to the server
|
||||
:param Object settings: (optional) request settings (see below)
|
||||
|
||||
The ``settings`` object can contain:
|
||||
|
||||
|
@ -251,7 +251,7 @@ way to do this is by using a `callback prop
|
||||
be checked if the state `done` is true.
|
||||
|
||||
.. tip::
|
||||
QWeb does not create attributes computed with the `t-att` directive it it evaluates to a
|
||||
QWeb does not create attributes computed with the `t-att` directive if it evaluates to a
|
||||
falsy value.
|
||||
|
||||
#. Add a callback props `toggleState`.
|
||||
|
Loading…
Reference in New Issue
Block a user