Purpose ======= Having some usability check to be sure to make the pay for everyone, and don't loose contracts. We would like to remove incoming and to renew columns in hr.contract and replace them by a kanban state. In employee, we would like to add warning on the kanban to warn the hr responsible there is no contract or a contract is about to expire Specification ============= hr.contract kanban: - add a kanabn state - it becomes red automatically when the contract is in running and expire in 7 days - add aquick search in filter to filter on expered soon - the kanban state can be changed manaually (in case of there is several rh) - sort by contract end date set first (more close of today first) Employee kanban - add an red icon if there is no contract in Runnig status OR there is a kanban state red in their contract (whatever the status). - add a quick seaach on employee with warning - State pending + green = incoming - State confirmed + red = about to expire / to renew closes odoo/odoo#33489 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
32 lines
870 B
Python
32 lines
870 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
{
|
|
'name': 'Employee Contracts',
|
|
'version': '1.0',
|
|
'category': 'Human Resources/Contracts',
|
|
'description': """
|
|
Add all information on the employee form to manage contracts.
|
|
=============================================================
|
|
|
|
* Contract
|
|
* Place of Birth,
|
|
* Medical Examination Date
|
|
* Company Vehicle
|
|
|
|
You can assign several contracts per employee.
|
|
""",
|
|
'website': 'https://www.odoo.com/page/employees',
|
|
'depends': ['hr'],
|
|
'data': [
|
|
'security/security.xml',
|
|
'security/ir.model.access.csv',
|
|
'data/hr_contract_data.xml',
|
|
'views/hr_contract_views.xml',
|
|
'views/assets.xml',
|
|
],
|
|
'demo': ['data/hr_contract_demo.xml'],
|
|
'installable': True,
|
|
'auto_install': False,
|
|
}
|