Repository navigation
Conversation
2516994 to
709c1d8
Compare
ntsirintanis
left a comment
There was a problem hiding this comment.
Please respect guidelines https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-20.0
| "version": "20.0.1.1.0", | ||
| "license": "LGPL-3", | ||
| "author": "ACSONE SA/NV,Odoo Community Association (OCA)", | ||
| "author": "ACSONE SA/NV, Open2S, Odoo Community Association (OCA)", |
There was a problem hiding this comment.
For just migrating you can't add yourself as an author, for that, CONTRIBUTING file is good enough
| Odoo FastAPI endpoint""", | ||
| "version": "19.0.1.1.0", | ||
| "summary": "Odoo FastAPI endpoint", | ||
| "version": "20.0.1.1.0", |
The new addons makes the override of dependencies part of the generated openapi documentation
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: rest-framework-19.0/rest-framework-19.0-fastapi Translate-URL: https://translation.odoo-community.org/projects/rest-framework-19-0/rest-framework-19-0-fastapi/
709c1d8 to
29c703a
Compare
|
Hi @thomaspaulb, @lmignon,
|
lmignon
left a comment
There was a problem hiding this comment.
- pre-commit is 🔴 (unused import into one module)
- pending changes required by dependencies must be specified into the test-requirement.txt file and commited into a specfic commit with "[DO NOT MERGE] ... the reason ...." as comment. To reference the PR for endpoint PR the line should look like
odoo-addon-endpoint-route-handler @ git+https://github.com/OCA/web-api@refs/pull/177/head#subdirectory=endpoint_route_handler - comment into the code
| Request._get_session_and_dbname = _patched_get_session_and_dbname | ||
| def _patched_set_session_and_dbname(request): |
There was a problem hiding this comment.
Why do you preserve the method _patched_get_session_and_dbnameat line 20?
There was a problem hiding this comment.
Removed. You are right, in 20.0 only _set_session_and_dbname is used so that method was no longer needed.
Comments from IA are not welcome and useless.... |
29c703a to
94fb732
Compare
|
Hi @lmignon, Thanks for the review. I have updated the branch: - Removed the unused tools import so pre-commit is green now. - Removed _patched_get_session_and_dbname from patch.py and updated the unit tests accordingly. - Added the separate [DO NOT MERGE] commit with the dependency from web-api#177 in test-requirements.txt. |
…ramework into 20.0-mig-fastapi
Migration of to Odoo 20.0.
Blocked by: OCA/web-api#177