[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:
Antoine Vandevenne (anv) 2023-04-25 08:57:23 +00:00
parent b1a76aec63
commit 8c29d1fd6a
2 changed files with 9 additions and 9 deletions

View File

@ -639,8 +639,8 @@ API
.. js:function:: rpc(route, params, settings) .. js:function:: rpc(route, params, settings)
:param string route: route targeted by the request :param string route: route targeted by the request
:param Object params: parameters sent to the server :param Object params: (optional) parameters sent to the server
:param Object settings (optional): request settings (see below) :param Object settings: (optional) request settings (see below)
The ``settings`` object can contain: The ``settings`` object can contain:

View File

@ -251,7 +251,7 @@ way to do this is by using a `callback prop
be checked if the state `done` is true. be checked if the state `done` is true.
.. tip:: .. 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. falsy value.
#. Add a callback props `toggleState`. #. Add a callback props `toggleState`.