Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
3220 Lượt xem

Hello Odooverse! 

Based on the legal requirements of my country (Odooland 🟣)  public holidays will be accounted for when requesting time off. For example, if an employee requests one week off (Monday to Friday) but there is a public holiday on Wednesday, I need to deduct days depending on the Time Off Type.


Could you help me solve this? Odooland will appreciate it! 🦹‍♀️


Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Hello Emilio! 

I am here to save Odooland (My favorite country in the universe 🌐, by the way)!

Follow the steps below: 

  1. Go to the Time Off App 
  2. Go to configuration
  3. Select the menu item "Time Off Types" 
  4. Select the Time Off Type you need to include/exclude
  5. Check or uncheck the field "Public Holiday Included" 


If it is not checked, let's imagine that an employee has a Paid Time Off Balance of 10 days, and requests vacations from Monday to Friday (5 days), but is a Public Holiday called "Odoo Experience 😎" on Wednesday, so in this case Odoo will deduct 4 days instead of 5. 

In conclusion, this new feature will allow you to select which Time Off Types should include Holidays and which not. Just keep in mind 2 things: 

    • You cannot modify the 'Public Holiday Included' setting since one or more leaves for that time off type overlap with public holidays, meaning that the balance of those employees would be affected by this change. 
    • The include/exclude is specifically by each Time Off



 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,


Odoo lets you control whether public holidays are deducted per Time Off.


Try the following steps.


1- Set Up Public Holidays



2- Configure Time Off.



Hope it helps



Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello, I didn't finde the configuration you talked about, is it a custom module?

Ảnh đại diện
Huỷ bỏ

This configuration is available in version 18

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 24
2039
1
thg 4 24
2483
1
thg 12 23
2550
1
thg 5 24
1324
1
thg 4 24
4398