summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorjbm-odoo <jbm@odoo.com>2019-03-06 09:01:01 +0000
committerYannick Tivisse <yti@odoo.com>2019-06-25 08:02:14 +0000
commit1e8db023685108a137593188e653d6bf8f8298a9 (patch)
treee1ac88bac5a2c096de8d03064fe11f11286ec3fc /addons/web/static/src/js/fields/basic_fields.js
parentfaf67303b35e6b15dfe2fd4e51402db0458f7e43 (diff)
[IMP] resource: Manage calendars over 2 weeks
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>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions