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