Skip to content

[FIX] plugin: fix usePlugin return type - #2001

Merged
ged-odoo merged 1 commit into
odoo:masterfrom
mcm-odoo:master-useplugin-type-mcm
Jul 23, 2026
Merged

[FIX] plugin: fix usePlugin return type#2001
ged-odoo merged 1 commit into
odoo:masterfrom
mcm-odoo:master-useplugin-type-mcm

Conversation

@mcm-odoo

Copy link
Copy Markdown
Contributor

Before this commit, usePlugin returned the type of the static method scoped of the plugin if it was defined.
Now, usePlugin always returns the instance type of the plugin.

Before this commit, `usePlugin` returned the type of the static method
`scoped` of the plugin if it was defined.
Now, `usePlugin` always returns the instance type of the plugin.
@ged-odoo
ged-odoo merged commit f5e845d into odoo:master Jul 23, 2026
2 checks passed
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.

2 participants