odoo/documentation#11674

Created by Aditya Khare (khad)

Blocked

label
odoo-dev:khad-odoo-patch-1
head
6caaf2bb88305c49fc4971ebf656e2c3f7853c81
odoo/documentation
18.0 #11674 missing statuses missing r+
saas-18.1
saas-18.2
saas-18.3
saas-18.4
master

Update 02_build_a_dashboard.rst

The useService("rpc") function is deprecated in odoo 18.

Now, the default way to call a controller which is not associated with a model is using the rpc function located in the web/static/src/core/network/rpc.js.

Therefore updated the "4. Call the server, add some statistics" section to reflect the correct references in the odoo 18 tutorials/discover_js_framework docs.