Skip to content

Comments

Update 02_build_a_dashboard.rst#11674

Open
khad-odoo wants to merge 1 commit into18.0from
khad-odoo-patch-1
Open

Update 02_build_a_dashboard.rst#11674
khad-odoo wants to merge 1 commit into18.0from
khad-odoo-patch-1

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