[FIX] reference/services: mark optional the params parameter of rpc

closes odoo/documentation#4280

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 fd881b4533
commit f868d98593
2 changed files with 9 additions and 9 deletions

View File

@ -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:

View File

@ -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`.
@ -309,12 +309,12 @@ components. This is useful to factorize the common layout between different part
<div class="card" style="width: 18rem;">
<img src="..." class="card-img-top" alt="..." />
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">
Some quick example text to build on the card title and make up the bulk
of the card's content.
</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
<h5 class="card-title">Card title</h5>
<p class="card-text">
Some quick example text to build on the card title and make up the bulk
of the card's content.
</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>