[19.0] Fixed compatibility issues with odoo19 for fastapi#571
Closed
abdullahoday710 wants to merge 1 commit into
Closed
[19.0] Fixed compatibility issues with odoo19 for fastapi#571abdullahoday710 wants to merge 1 commit into
abdullahoday710 wants to merge 1 commit into
Conversation
Author
|
Apparently someone else is working on this, So I will close that PR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.