Skip to content
Health
78/100
good
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 11 months ago
  • Required by15/25
    1 module depends on it
  • Maturity18/25
    In 3 Odoo series since 16.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.04 MB
Module directory on disk
Code analysis 0 migration notes 2 models 0 views 0 HTTP endpoints

Description

This module allows to create an activity when an exception is logged in an API logs collection.

Dependencies

Odoo dependencies
OCA/rest-framework:
odoo/odoo:
- web
- bus
Python dependencies
None
System dependencies
None
Required by
fastapi_log_mail

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 0

No views found for this module.

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (0)

No new fields.

Public methods (2)
  • log_exception(self, exception)
  • log_request(self, request, override_log_values=None)
    @api.model

New fields (2)
  • api_log_mail_exception_activity_type_id Many2one → mail.activity.type
    comodel_name='mail.activity.type' domain=[('res_model', '=', 'api.log')] help='An activity of this type will be created when an error is logged.' string='Error Activity type'
  • api_log_mail_exception_template_id Many2one → mail.template
    comodel_name='mail.template' domain=[('model_id.model', '=', 'api.log')] help='An email based on this template will be sent when an error is logged.' string='Error E-mail Template'
Public methods (0)

No public methods.

Loading…

Loading…