Files
odoo_source/addons/hr_presence/__manifest__.py
T
Ivan Yelizariev fc5607c4d2 [FIX] calendar_sms,hr_presence: add security rules for sms.templates
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>
2021-01-18 10:11:11 +00:00

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'
}