Those modules hold default aliases to respectively create applicants or
maintenance request. Issue with those generic aliases are
* they are not bound to any context (container document). For example jobs
is not linked to any job record. Applicants will not have any job_id set;
* they are not displayed anywhere. Applicant kanban view displays a helper
when having no content, with an email address to start populating the
view. This emails is however based on job in context, aka alias record
created through the alias mixin on the job.
* maintenance does not even try to use aliases in any view or code and just
defines a dummy alias;
* as default data they can be wrong: taking ``jobs`` and ``helpdesk`` is
not necessarily a good idea. Indeed it depends on mail server configuration
(e.g. not always owning all possible emails of a domain when using its own
address like gmail). This may also conflicts with existing email addresses
or already-defined aliases without being really configurable;
* they are not configurable. They are not displayed in any configuration flow
(setting or container document). Only going into technical menus to find all
aliases allows to find them;
Conclusion: cleanup and remove.
Task-2710804 (Mail: Clean MailThread Posting API)
Prepares Task-36879 (Mail: Support MultiCompany Aliases)
Part-of: odoo/odoo#105992
33 lines
934 B
Python
33 lines
934 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
{
|
|
'name': 'Maintenance',
|
|
'version': '1.0',
|
|
'sequence': 100,
|
|
'category': 'Manufacturing/Maintenance',
|
|
'description': """
|
|
Track equipment and maintenance requests""",
|
|
'depends': ['mail'],
|
|
'summary': 'Track equipment and manage maintenance requests',
|
|
'website': 'https://www.odoo.com/app/maintenance',
|
|
'data': [
|
|
'security/maintenance.xml',
|
|
'security/ir.model.access.csv',
|
|
'data/maintenance_data.xml',
|
|
'data/mail_activity_type_data.xml',
|
|
'data/mail_message_subtype_data.xml',
|
|
'views/maintenance_views.xml',
|
|
'views/mail_activity_views.xml',
|
|
'data/maintenance_cron.xml',
|
|
],
|
|
'demo': ['data/maintenance_demo.xml'],
|
|
'installable': True,
|
|
'application': True,
|
|
'assets': {
|
|
'web.assets_backend': [
|
|
'maintenance/static/src/**/*',
|
|
],
|
|
},
|
|
'license': 'LGPL-3',
|
|
}
|