OdooWiki OCA HUB

FastAPI Log notification

fastapi_log_mail folder_open OCA/rest-framework open_in_new
Tools License: AGPL-3

This module allows to create an activity when an exception is logged in a fastapi endpoint.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds two fields to the FastAPI endpoint form so you can choose an activity type and an email template used when an exception is logged on that endpoint.

This module extends the FastAPI endpoint configuration screen. On the endpoint form, right after the option that enables request logging, two new fields appear (only for users in the API Log group, and only when request logging is turned on):

  • an activity type, used to create an activity when an exception is logged;
  • an email template, used for the notification related to that exception.

The module itself only adds these configuration fields to the fastapi.endpoint form view; the actual creation of the activity and the sending of the email are handled by the modules it depends on (fastapi_log and api_log_mail). No new menus, reports, scheduled jobs or business rules are defined in this module's code. Its purpose is simply to let you pick, per endpoint, which activity type and which email template should be used when an error is recorded.

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 17.0

Confirmed on 2026-11-03 in branch 17.0 of OCA/rest-framework.

terminal Installation and usage

OCA documentation · Odoo 18.0

Configure a fastapi endpoint as explained in api_log_mail.

No verified information in OCA: Installation, Usage.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.