Forum entry to show how to import time-off allocations for multiple employees for the current year, and subsequently, how to bulk confirm and approve these allocations. This case includes a specific explanation regarding time-off measured in hours.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
Step 1: Export one allocation to have the correct fields prior to import.
Step 2: Modify your allocation from hours to days based on your working schedule (for instance, for a 40-hour week with an 8-hour day, divide the hours by 8 to get the correct number of days to allocate).
Step 3: Import the allocation based on your new column
You now have the allocation that you want to mass confirm, since you can't forcibly change the state of the time-off you have to create a server action.
Step 4: Create a server action to mass confirm the allocations
- Go into developer mode and go to the server action menu
- Create the following action
You can now mass confirm allocations and then, if you have the necessary access rights, mass approve them.
Hi Pierre,
I think this video can help you:
https://www.youtube.com/watch?v=etMYrOJyaiU&list=PLSKcWRTtEl5qzvRaI-VTGavfReiHS_EEb&index=2 (starting at 01:06:00 in this video)
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
1
thg 5 25
|
1113 | ||
How to import PDFs in any model?
Đã xử lý
|
|
1
thg 12 24
|
3941 | |
|
1
thg 10 23
|
2037 | ||
|
1
thg 11 21
|
2206 | ||
|
1
thg 5 21
|
5416 |