API Log notification
api_log_mail · OCA/rest-framework
Health
78/100
good
-
Security25/25No findings
-
Activity20/25Last human commit 11 months ago
-
Required by15/251 module depends on it
-
Maturity18/25In 3 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
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
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_idMany2one → mail.activity.typecomodel_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_idMany2one → mail.templatecomodel_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'
No public methods.
Loading…
Loading…