khad-odoo 6caaf2bb88 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.
2025-01-01 16:10:05 +05:30
2025-01-01 16:10:05 +05:30
2024-12-31 16:47:48 +00:00

Odoo documentation

Build the documentation locally

Requirements

Instructions

  1. In a terminal, navigate to the root directory of the documentation and build it make. Additional commands are available with make help.
  2. Open the file documentation/_build/html/index.html in your web browser.
  3. See this guide for more detailed instructions.

Optional: place your local copy of the odoo/odoo and odoo/upgrade-util repositories in the parent directory or in the root directory of the documentation to build the latter with the documented Python docstrings.

Contribute to the documentation

For contributions to the content of the documentation, please refer to the Introduction Guide.

To report a content issue, request new content or ask a question, use the repository's issue tracker.

Learn More

To learn more about Odoo, in addition to the documentation, have a look at the official eLearning and Scale-up, The Business Game.

Description
Odoo documentation sources
Readme CC-BY-SA-4.0 2.9 GiB
Languages
reStructuredText 93.7%
SCSS 3.2%
JavaScript 1.7%
Python 0.9%
HTML 0.3%
Other 0.1%