From f868d985935f4e6872e6dba92bd87d079afe3039 Mon Sep 17 00:00:00 2001 From: "Antoine Vandevenne (anv)" Date: Tue, 25 Apr 2023 08:57:23 +0000 Subject: [PATCH] [FIX] reference/services: mark optional the `params` parameter of `rpc` closes odoo/documentation#4280 X-original-commit: c1b38dc1f31ed8a916cfc6c22c465e0469a5ece0 Signed-off-by: Antoine Vandevenne (anv) --- content/developer/reference/frontend/services.rst | 4 ++-- .../discover_js_framework/01_owl_components.rst | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/content/developer/reference/frontend/services.rst b/content/developer/reference/frontend/services.rst index 996ab1056..80988d736 100644 --- a/content/developer/reference/frontend/services.rst +++ b/content/developer/reference/frontend/services.rst @@ -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: diff --git a/content/developer/tutorials/discover_js_framework/01_owl_components.rst b/content/developer/tutorials/discover_js_framework/01_owl_components.rst index 9b02c448d..6e09fb776 100644 --- a/content/developer/tutorials/discover_js_framework/01_owl_components.rst +++ b/content/developer/tutorials/discover_js_framework/01_owl_components.rst @@ -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
...
-
Card title
-

- Some quick example text to build on the card title and make up the bulk - of the card's content. -

- Go somewhere +
Card title
+

+ Some quick example text to build on the card title and make up the bulk + of the card's content. +

+ Go somewhere