Skip to content

[19.0][MIG] api_log, api_log_mail, fastapi_log, fastapi_log_mail: Migration to 19.0#616

Open
TheClaud99 wants to merge 31 commits into
OCA:19.0from
TheClaud99:19.0-mig-log-modules
Open

[19.0][MIG] api_log, api_log_mail, fastapi_log, fastapi_log_mail: Migration to 19.0#616
TheClaud99 wants to merge 31 commits into
OCA:19.0from
TheClaud99:19.0-mig-log-modules

Conversation

@TheClaud99

@TheClaud99 TheClaud99 commented Jun 12, 2026

Copy link
Copy Markdown

Migration of the API/FastAPI logging modules to 19.0. They are submitted
together because they form a single dependency chain
(api_logapi_log_mail, api_logfastapi_logfastapi_log_mail).

Modules

  • api_log
  • api_log_mail
  • fastapi_log
  • fastapi_log_mail

Migration changes

  • Bumped manifest versions to 19.0.1.0.0.
  • api_log: renamed the res.groups users field to user_ids
    (the field was renamed in 19.0).
  • fastapi_log:
    • replaced the removed Registry.in_test_mode() with a test_log_cr
      attribute check in the FastAPI dispatcher;
    • updated the TestCursor import (odoo.sql_dbodoo.tests.test_cursor).
  • Regenerated README.rst and static/description/index.html for 19.0.

Related to #567

paradoxxxzero and others added 29 commits June 12, 2026 15:47
This way other APIs might use the new module `api_log` to store logs.
Co-authored-by: Florian Mounier <paradoxxx.zero@gmail.com>
Currently translated at 100.0% (7 of 7 strings)

Translation: rest-framework-18.0/rest-framework-18.0-fastapi_log
Translate-URL: https://translation.odoo-community.org/projects/rest-framework-18-0/rest-framework-18-0-fastapi_log/it/
@OCA-git-bot OCA-git-bot added mod:fastapi_log_mail Module fastapi_log_mail mod:fastapi_log Module fastapi_log mod:api_log_mail Module api_log_mail mod:api_log Module api_log labels Jun 12, 2026
@TheClaud99 TheClaud99 force-pushed the 19.0-mig-log-modules branch 5 times, most recently from 597577a to 95ebd5d Compare June 23, 2026 10:27
@TheClaud99 TheClaud99 force-pushed the 19.0-mig-log-modules branch from 95ebd5d to 4d8d927 Compare June 23, 2026 12:51

@lmignon lmignon left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (Code review only)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:api_log_mail Module api_log_mail mod:api_log Module api_log mod:fastapi_log_mail Module fastapi_log_mail mod:fastapi_log Module fastapi_log series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants