Purpose ======= In Belgium, we need to support some partial time on 2 weeks. For instance, a mid time, means you could work on monday, tuesday and wednesday on week1 and monday and tuesday on week 2. Others payroll softwares manage this. Specification ============= Add a checkbox on resource calendar to manage 2 weeks. --> Consider even/odd weeks. Add sections on calendars (Like sales orders) Modify methods in resources to apply this behavor generically. Check that attendances aren't overlapped Write an integration test for holidays - benefits - payslip to check all this, + "credit temps" and wage modification. Note ==== For the sake of simplicity, we only manage calendars over 2 weeks to consider the odd/even weeks and keep an easy implementation. For more complicated calendars (eg: over a months with specific targetted days), it's better to create specific allocation requests and apply specific leaves for those days, as it would be the case for parental leaves. closes odoo/odoo#31674 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
27 lines
764 B
Python
27 lines
764 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
{
|
|
'name': 'Resource',
|
|
'version': '1.1',
|
|
'category': 'Hidden',
|
|
'description': """
|
|
Module for resource management.
|
|
===============================
|
|
|
|
A resource represent something that can be scheduled (a developer on a task or a
|
|
work center on manufacturing orders). This module manages a resource calendar
|
|
associated to every resource. It also manages the leaves of every resource.
|
|
""",
|
|
'depends': ['base', 'web'],
|
|
'data': [
|
|
'data/resource_data.xml',
|
|
'security/ir.model.access.csv',
|
|
'security/resource_security.xml',
|
|
'views/resource_views.xml',
|
|
'views/resource.xml',
|
|
],
|
|
'demo': [
|
|
],
|
|
}
|