Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 02_build_a_dashboard.rst #11674

Open
wants to merge 1 commit into
base: 18.0
Choose a base branch
from
Open

Update 02_build_a_dashboard.rst #11674

wants to merge 1 commit into from

Conversation

khad-odoo
Copy link

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.

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.
@khad-odoo khad-odoo requested a review from ged-odoo January 1, 2025 10:41
@robodoo
Copy link
Collaborator

robodoo commented Jan 1, 2025

Pull request status dashboard

@ged-odoo
Copy link
Contributor

ged-odoo commented Jan 6, 2025

nice find

@khad-odoo
Copy link
Author

Thanks @ged-odoo ,
now if there are no changes needed, can you please merge this or tag the concerned person into this discussion?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants