mirror of
https://github.com/odoo/documentation.git
synced 2026-01-02 17:59:20 +07:00
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.