BEFORE: sms templates from these modules become inaccessible if any module from the list below is installed * crm_sms * event_sms * stock_sms * enterprise/account_followup * enterprise/marketing_automation_sms * enterprise/sale_subscription those modules add security rules for sms.templates, which adds additional conditions to get access: at least one security rule has to be passed. So, we need to add such rules to give access not only to Superuser closes odoo/odoo#64661 X-original-commit: 23c82340c1cbd3d5a25d5c2ecec6c7d0f988cd90 Signed-off-by: Ivan Yelizariev // IEL <yelizariev@users.noreply.github.com>
32 lines
795 B
Python
32 lines
795 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
{
|
|
'name': 'Employee Presence Control',
|
|
'version': '1.0',
|
|
'category': 'Human Resources',
|
|
'description': """
|
|
Control Employees Presence
|
|
==========================
|
|
|
|
Based on:
|
|
* The IP Address
|
|
* The User's Session
|
|
* The Sent Emails
|
|
|
|
Allows to contact directly the employee in case of unjustified absence.
|
|
""",
|
|
'depends': ['hr', 'hr_holidays', 'sms'],
|
|
'data': [
|
|
'security/sms_security.xml',
|
|
'data/ir_actions_server.xml',
|
|
'views/hr_employee_views.xml',
|
|
'data/mail_template_data.xml',
|
|
'data/sms_data.xml',
|
|
],
|
|
'demo': [],
|
|
'installable': True,
|
|
'auto_install': False,
|
|
'post_init_hook': 'post_init_hook'
|
|
}
|