Skip to content

[19.0] Fixed compatibility issues with odoo19 for fastapi#571

Closed
abdullahoday710 wants to merge 1 commit into
OCA:19.0from
abdullahoday710:odoo19_fixes
Closed

[19.0] Fixed compatibility issues with odoo19 for fastapi#571
abdullahoday710 wants to merge 1 commit into
OCA:19.0from
abdullahoday710:odoo19_fixes

Conversation

@abdullahoday710

Copy link
Copy Markdown

The latest odoo19 branch has introduced breaking changes for the module "fastapi"

This pull request makes the module installable on odoo19.

Key fixes :

  • Updated manifest.py to make the project installable and also bumped the base version to 19

  • Odoo19 has changed the python class names for Partner and Users to ResPartner and ResUsers and fastapi module imported them directly, The import names have been fixed accordingly

  • Odoo19 has changed the field name for users in "res.groups" from "users" to "user_ids" therefore res_groups.xml files has been patched with these changes

  • Odoo19 removed the field "category_id" from the model "res.groups" for some reason, Therefore I have removed the field in res_groups.xml

  • Odoo19 also changed the groups field name for the model "ir.ui.menu" to group_ids, So I have fixed that in fastapi_menu.xml

  • Odoo19 search view definition doesn't allow the tag anymore so I have removed it, Keeping only the "App" filter.

After testing the commit, The expected result is that the "fastapi" module can be installed on an odoo19 database.

@abdullahoday710 abdullahoday710 changed the title Fixed compatibility issues with odoo19 for fastapi [19.0] Fixed compatibility issues with odoo19 for fastapi Oct 21, 2025
@abdullahoday710

Copy link
Copy Markdown
Author

Apparently someone else is working on this, So I will close that PR

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.

1 participant