[FIX] reference/services: mark optional the params
parameter of rpc
closes odoo/documentation#4281
X-original-commit: c1b38dc1f3
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
parent
4815658419
commit
4fab6f10c7
@ -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`.
|
||||
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user