ระบบการลา¶
แอปพลิเคชัน การลา ของ Odoo ทำหน้าที่เป็นศูนย์กลางสำหรับข้อมูลทั้งหมดที่เกี่ยวข้องกับการลา แอปพลิเคชันนี้จัดการคำขอ ยอดคงเหลือ การจัดสรร การอนุมัติ และรายงาน
ผู้ใช้สามารถ ขอลา และดูภาพรวมของคำขอและยอดคงเหลือการลาของตน ผู้จัดการสามารถ จัดสรรการลา ให้กับบุคคล ทีม หรือทั้งบริษัท และ อนุมัติคำขอลา
Detailed reports can be run to see how much time off (and what kinds of time off) are being used, accrual plans can be created, and public holidays can be set.
Note
โปรดทราบว่ามีเพียงผู้ใช้ที่มีสิทธิ์เข้าถึงเฉพาะเท่านั้นที่สามารถเห็นทุกแง่มุมของแอป การลา
ผู้ใช้ทั้งหมดสามารถเข้าถึงส่วน การลาของฉัน และ ภาพรวม ของแอป การลา ส่วนอื่นๆ ทั้งหมดต้องการสิทธิ์เข้าถึงเฉพาะ
เพื่อทำความเข้าใจที่ดีขึ้นว่าสิทธิ์เข้าถึงส่งผลต่อแอป การลา อย่างไร โปรดดูเอกสาร พนักงานใหม่ โดยเฉพาะส่วนเกี่ยวกับการกำหนดค่าแท็บ ข้อมูลการทำงาน
ดูเพิ่มเติม
การกำหนดค่า¶
In order to allocate time off to employees, and for employees to request and use their time off, the various time off types must be configured first, then allocated to employees (if allocation is required).
ประเภทการลา¶
ในการดูประเภทการลาที่กำหนดค่าไว้ในปัจจุบัน ไปที่ ประเภทการลาจะแสดงในมุมมองรายการ
The Time Off app comes with four preconfigured time off types: Paid Time Off, Sick Time Off, Unpaid, Compensatory Days, and Extra Hours. These can be modified to suit business needs, or used as-is.
สร้างประเภทการลา¶
To create a new time off type, navigate to . From here, click the New button to reveal a blank time off type form.
Enter the name for the particular type of time off in the blank line at the top of the form, such as
Vacation or Bereavement. Then, enter the following information on the form.
Note
The only required fields on the time off type form are the name of the Time Off Type, the Take Time Off In, and the Kind of Time Off. In addition, the Time Off Requests and Allocation Requests sections must be configured.
ส่วนคำขอการลา¶
ส่วนนี้กำหนดว่าจะจัดการการอนุมัติสำหรับคำขอการลาสำหรับประเภทการลานี้อย่างไร
Approval: select what specific kind of approval is required for the time off type. The options are:
No Validation: No approvals are required when requesting this type of time off. The time off request is automatically approved.
By Time Off Officer: Only the specified Time Off Officer, set on this form in the Notified Time Off Officer field, is required to approve the time off request. This option is selected, by default.
By Employee's Approver: Only the employee's specified approver for time off, which is set on the Work Information tab on the employee's form, is required to approve the time off request.
By Employee's Approver and Time Off Officer: Both the employee's specified time off approver and the Time Off Officer are required to approve the time off request.
Allocation requests section¶
This section determines how allocation requests are handled for this time off type.
Requires allocation: If the time off must be allocated to employees, select Yes. If the time off can be requested without time off being previously allocated, select No Limit. If No Limit is selected, the following options do not appear on the form.
Employee Requests: Select Extra Days Requests Allowed if the employee is able to request more time off than was allocated.
If employees should not be able to make requests for more time off than what was allocated, select the Not Allowed option.
Example
Ten days are allocated to the employee for this particular type of time off, and the Extra Days Requests Allowed option is enabled. The employee wants to take a vacation for twelve days. They may submit a request for two additional days, since the Extra Days Requests Allowed option is enabled.
Important
It is important to note that requesting additional time off does not guarantee that time off is granted.
Approval: Select the type of approvals required for the allocation of this particular time off type.
No Validation: No approvals are required when requesting additional allocations for the time off type. The allocation request is automatically approved.
By Time Off Officer: Only the specified Time Off Officer, set on this form in the Notified Time Off Officer field, is required to approve the allocation request. This option is selected, by default.
By Employee's Approver: Only the employee's specified approver for time off, which is set on the Work Information tab on the employee's form, is required to approve the allocation request.
By Employee's Approver and Time Off Officer: Both the employee's specified time off approver and the Time Off Officer are required to approve the allocation request.
Configuration section¶
This section determines all other details regarding the time off type, aside from approvals and allocations. This includes how the time off must be taken (hours, half days, or days), if the time off is visible to other users, and how the time off affects the Payroll app.
Notified Time Off Officer: Select the user who is notified and responsible for approving requests and allocations for this specific type of time off.
Take Time Off in: Select the format the time off is requested in from the drop-down menu. The options are:
Day: if time off can only be requested in full day increments (8 hours).
Half Day: if time off can only be requested in half day increments (4 hours).
Hours: if the time off can be taken in hourly increments.
Deduct Extra Hours: Enable this option if the time off request should factor in any extra time accrued by the employee.
Example
If an employee works two extra hours for the week, and requests five hours of time off, the request would be for three hours, since the two extra worked hours are used first, and deducted from the request.
Public Holiday Included: Enable this option if employees must use their own time off balance for public holidays included in a time off request.
Example
The 4th of July is a public holiday in the United States. An employee requests time off for the full business week, including July 4th.
If Public Holiday Included is enabled, the public holiday is included in the employee's time off request. The employee uses five vacation days.
If Public Holiday Included is disabled, the public holiday is not included in the employee's time off request. The employee only uses four vacation days.
Allow To Attach Supporting Document: Enable this option to allow the employee to attach documents to the time off request. This is useful in situations where documentation is required, such as long-term medical leave.
Kind of Time Off: From the drop-down menu, select the type of time off, either Worked Time or Absence. Worked Time indicates the time off taken counts toward worked time for any type of accrual the employee is working towards, whereas Absence does not count toward any type of accrual.
Company: If multiple companies are created in the database, and this time off type only applies to one company, select the company from the drop-down menu. If this field is left blank, the time off type applies to all companies in the database. This field only appears in a multi-company database.
Negative cap section¶
Enable the Allow Negative Cap option if employees are able to request more time off than they currently have, allowing a negative balance. If enabled, an Maximum Excess Amount field appears. In this field, enter the maximum amount of negative time allowed, in days.
Example
Sara currently has three days of the time off type Vacation. She is planning a trip that
requires five days of time off.
The Vacation time off type has the Allow Negative Cap option enabled, and the
Maximum Excess Amount is set to five.
These settings allow Sara to submit a request for five days of the Vacation time off type. If
approved, her Vacation time off balance will be negative two (-2) days.
Payroll section¶
If the time off type should create รายการงาน in the Payroll app, select the Work Entry Type from the drop-down list.
Timesheets section¶
Note
The Timesheets section only appears if the user is in developer mode. Refer to the โหมดนักพัฒนา (โหมดแก้ไขข้อบกพร่อง) document for details on how to access the developer mode.
When an employee takes time off, and is also using timesheets, Odoo creates entries in the Timesheets app for the time off. This section defines how they are entered.
Project: Select the project the time off type entries appear in.
Task: Select the task that appears in the timesheet for this time off type. The default options are: Time Off, Meeting, or Training.
Display option section¶
Color: Select a color to be used in the Time Off app dashboard.
Cover Image: Select an icon to be used in the Time Off app dashboard.
แผนการคงค้าง¶
Some time off is earned through an accrual plan, meaning that for every specified amount of time an employee works (hour, day, week, etc), they earn or accrue a specified amount of time off.
Example
If an employee accrues a vacation day for every week they work, they would earn 0.2 vacation days for each hour they work. At the end of a forty hour work week, they would earn one whole vacation day (8 hours).
Create accrual plan¶
To create a new accrual plan, navigate to . Then, click the New button, which reveals a blank accrual plan form.
ป้อนข้อมูลต่อไปนี้ในแบบฟอร์ม:
Name: Enter the accrual plan name.
Accrued Gain Time: Select when the employee begins to accrue time off, either At the start of the accrual period or At the end of the accrual period.
Carry-Over Time: Select when the employee received previously earned time. The options are:
At the start of the year: Select this if the accrual rolls over on January 1 of the upcoming year.
At the allocation date: Select this if the accrual rolls over as soon as time is allocated to the employee.
Other: Select this option if neither of the other two options are applicable. When selected, a Carry-Over Date field appears. Select the date using the two drop-down menus, one for the day and one for the month.
Based on worked time: Enable this option if time off accrual is determined by the employee's worked hours. Days not considered as worked time do not contribute to the accrual plan in Odoo.
Example
An employee is granted time off from an accrual plan configured to accrue one day of vacation for every five days worked. The accrual plan is based on the employee's worked time (the Based on worked time checkbox is ticked), which means they only earn vacation time for the five weekdays they work, not the entire seven day week period.
The employee works standard 40-hour weeks. According to the accrual plan, they should earn four vacation days per month.
The employee takes five days off using a time off type with the Kind of Time Off set as an Absence. Because the plan grants vacation only for worked time, those five days do not count toward accrual.
ผลลัพธ์คือพนักงานจะได้รับวันลาพักร้อนเพียงสามวันในเดือนนั้นแทนที่จะเป็นสี่วัน
การเปลี่ยนแปลงของไมล์สโตน: ฟิลด์นี้จะมองเห็นได้เฉพาะหลังจากกำหนดค่ากฎ <time_off/rules>` อย่างน้อย 2 ข้อในแผนการรับเงิน การเลือกนี้จะกำหนดว่าพนักงานจะเลื่อนขึ้นไปสู่ไมล์สโตนใหม่เมื่อใด หากพนักงานมีคุณสมบัติเหมาะสมที่จะเปลี่ยนไมล์สโตนในช่วงกลางของงวดการจ่ายเงิน ให้ตัดสินใจว่าพนักงานจะเปลี่ยนไมล์สโตน ทันที หรือ หลังจากงวดการรับเงินนี้ (หลังจากงวดการจ่ายเงินปัจจุบัน)
Company: This field only appears in a multi-company database. Using the drop-down menu, select the company the accrual plan applies to. If left blank, the accrual plan is available for all companies.
กฏ¶
Rules must be created in order for employees to accrue time off from the accrual plan.
To create a new rule, click the New Milestone button in the gray Rules section, and a Create Milestone modal form appears.
กรอกข้อมูลในฟิลด์ต่อไปนี้ในแบบฟอร์ม:
Employee accrue: Select the parameters for earned time off in this section.
First, select either Days or Hours for the increment of accrued time using the drop-down menu.
Next, enter the numerical amount of the selected parameter that is accrued. The numerical format is
X.XXXX, so that partial days or hours can also be configured.Last, select how often the time is accrued using the drop-down menu. The default options are Hourly, Daily, Weekly, Twice a month, Monthly, Twice a year, and Yearly.
Depending on which option is selected, additional fields may appear. For example, if Twice a month is selected, two additional fields appear, to specify the two days of each month the milestone occurs.
Cap accrued time: If there is a maximum amount of time the employee can accrue with this plan, enable this option.
When enabled, two additional fields appear to the right of the checkbox. The second field is populated with either Days or Hours, matching the selection made in the Employee Accrue section.
Enter a numerical value in the first field to specify the maximum amount of time that can be accrued, in the specified increments.
Start Accruing: Enter the number and value of the time period that must pass before the employee starts to accumulate time off.
Use the first field to enter a numerical value, then set the second field to the desired time increment (either Days, Months, or Years).
Carry over: select how any unused time off is handled. The options are either:
None. Accrued time reset to 0: Any unused time off is lost.
All accrued time carried over: All unused time off is rolled over to the next calendar year.
Carry over with a maximum: Unused time off is rolled over to the next calendar year, but there is a cap. An Up to field appears if this is selected.
Enter the maximum number of Hours or Days that can roll over to the following year. The presented time increment is determined by how the Employee Accrue section is configured.
Any time off beyond this parameter is lost.
Important
If the Carry over field is set to None. Accrued time reset to 0, that rule overrides the Carry-Over Time set on the accrual plan.
If a company creates an accrual plan, granting employees time off At the start of the accrual period (i.e., the beginning of the year), and sets the Carry-Over Time on the accrual plan to At the start of the year, it allows unused vacation time to rollover to the following year.
Then, the company adds rules to the accrual plan, allocating five days of vacation, annually, on the first of the year (one week of vacation allocated on January 1st).
If the Carry over field is set to None. Accrual time reset to 0 on the Create Milestone pop-up for, any unused vacation time does not carry over, even though on the Accrual Plan form, the Carry-Over Time is set to At the start of the year.
The carry over set on the rule takes precedence over the carry over set on the accrual plan form.
Milestone cap: Tick this checkbox to set a limit on the total amount of time that can be accrued every calendar year. Enter the total maximum number of Hours or Days the employee can accrue during a year. The presented time increment is determined by how the Employee Accrue section is configured.
If the Carry over field is set to None. Accrued time reset to 0, the Milestone cap field does not appear.
Carry Over Validity: Tick this checkbox to set a time-limit on how long the employee has to use any rolled over time off. First, set the second field to the desired time-period using the drop-down menu, either Days or Months.
Next, enter the maximum number of Days or Months the employee has to use their rolled over time off. After that time period passes, any unused rolled over time will expire.
If the Carry over field is set to None. Accrued time reset to 0, the Carry Over Validity field does not appear.
Once the form is completed, click Save & Close to save the Create Milestone form, and close the modal, or click Save & New to save the form and create another milestone. Add as many milestones as desired.
Example
This milestone form is configured so the employee earns five days a year. They start to earn this time yearly, on January 1st.
The employee can never accrue more than 120 days of time off with this accrual plan. Anytime they have 120 days banked, they will stop accruing more time off.
Additionally, they can roll over up to 100 days of time off to the next year, and they have three months to use that rollover time.
Note that due to the Capped accrued time of 120 days, the employee cannot carry over any time off that exceeds 120 days in total.
วันหยุดนักขัตฤกษ์¶
Since holidays vary from country to country, or even city to city, there are no public holidays preconfigured in Odoo. To observe public or national holidays, and provide extra days off as holidays to employees, configure the observed public holidays in Odoo.
It is important to configure public holidays in Odoo, so employees are aware of the days they have off, and do not request time off on days that are already set as a public holiday (non-working days).
Additionally, all public holidays configured in the Time Off app are also reflected in any app that uses working schedules, such as Calendar, Planning, Manufacturing, and more.
Due to Odoo's integration with other apps that use working schedules, it is considered best practice to ensure all public holidays are configured.
สร้างวันหยุดราชการ¶
ในการสร้างวันหยุดราชการ ให้ไปที่ วันหยุดราชการทั้งหมดที่กำหนดค่าไว้ในปัจจุบันจะปรากฏในมุมมองรายการเริ่มต้น
Click the New button, and a new line appears at the bottom of the list.
ป้อนข้อมูลต่อไปนี้ในบรรทัดใหม่นั้น:
ชื่อ: ป้อนชื่อของวันหยุด
บริษัท: หากอยู่ในฐานข้อมูลหลายบริษัท บริษัทปัจจุบันจะเติมข้อมูลในฟิลด์นี้โดยอัตโนมัติ **ไม่สามารถ**แก้ไขฟิลด์นี้ได้
Note
ฟิลด์ บริษัท ถูกซ่อนไว้ตามค่าเริ่มต้น หากต้องการดูฟิลด์นี้ ให้คลิกไอคอน (ปรับการตั้งค่า) ที่มุมบนขวาของรายการ ทางด้านขวาสุดของชื่อคอลัมน์ แล้วเปิดใช้งานตัวเลือก บริษัท จากเมนูแบบเลื่อนลงที่ปรากฏขึ้น
Start Date: Using the date and time picker, select the date and time the holiday starts, then click Apply. By default, this field is configured for the current date. The start time is set according to the start time for the company (according to the working schedules). If the user's computer is set to a different time zone, the start time is adjusted accordingly, compared to the company's time zone.
End Date: Using the date and time picker, select the date and time the holiday ends, then click Apply. By default, this field is configured for the current date, and the time is set to the end time for the company (according to the working schedules). If the user's computer is set to a different time zone, the start time is adjusted accordingly, compared to the company's time zone.
Example
A company located in San Francisco operates from 9:00 AM - 6:00 PM, with an eight hour work day and one hour lunch break.
For a user in New York, with a computer time zone set to Eastern Standard Time, a created public holiday displays a start time of 12:00 PM - 9:00 PM, accounting for the three hour time zone difference.
Similarly, a user located in Los Angeles, with a computer time zone set to Pacific Standard Time, sees a public holiday time as 9:00 AM - 6:00 PM.
Working Hours: If the holiday should only apply to employees who have a specific set of working hours, select the working hours from the drop-down menu. If left blank, the holiday applies to all employees.
Work Entry Type: If using the Payroll app, this field defines how the work entries for the holiday appear. Select the work entry type from the drop-down menu.
วันบังคับ¶
บางบริษัทมีวันพิเศษที่แผนกเฉพาะหรือพนักงานทั้งหมดต้องมาทำงาน และไม่อนุญาตให้ลาหยุดในวันเฉพาะเหล่านั้น
วันประเภทนี้เรียกว่า วันบังคับ ใน Odoo สามารถกำหนดค่าให้เป็นทั้งบริษัทหรือเฉพาะแผนกได้ เมื่อกำหนดค่าแล้ว พนักงานในแผนกหรือบริษัทที่ระบุจะไม่สามารถส่งคำขอลาหยุดสำหรับวันบังคับเหล่านี้ได้
สร้างวันบังคับ¶
ไม่มีวันบังคับที่กำหนดค่าไว้ใน Odoo ตามค่าเริ่มต้น ในการสร้างวันบังคับ ให้ไปที่
คลิกปุ่ม สร้าง ที่มุมบนซ้าย แล้วบรรทัดว่างจะปรากฏในรายการ
ป้อนข้อมูลต่อไปนี้ในบรรทัดใหม่นั้น:
ชื่อ: ป้อนชื่อของวันบังคับ
บริษัท: หากอยู่ในฐานข้อมูลหลายบริษัท ฟิลด์นี้จะมองเห็นได้ และบริษัทปัจจุบันจะเติมข้อมูลในฟิลด์นี้โดยอัตโนมัติ ใช้เมนูแบบเลื่อนลงเพื่อเลือกบริษัทที่วันบังคับนี้สำหรับ
แผนก: คอลัมน์นี้ถูกซ่อนไว้ตามค่าเริ่มต้น ขั้นแรก ให้คลิกไอคอน (ตัวเลือกเพิ่มเติม) ที่มุมบนขวา ถัดจาก สี จากนั้นทำเครื่องหมายในช่องถัดจาก แผนก เพื่อแสดงคอลัมน์นั้น
ถัดไป ให้เลือกแผนกที่ต้องการจากเมนูแบบเลื่อนลง สามารถเลือกหลายแผนกได้ และไม่มีขอบเขตจำนวนแผนกที่สามารถเพิ่มได้
หากเว้นช่องนี้ว่างไว้ วันบังคับจะใช้กับบริษัททั้งหมด
วันที่เริ่มต้น: ใช้ตัวเลือกปฏิทินเพื่อเลือกวันที่วันบังคับเริ่มต้น
วันที่สิ้นสุด: ใช้ตัวเลือกปฏิทินเพื่อเลือกวันที่วันบังคับสิ้นสุด หากสร้างวันบังคับเพียงวันเดียว วันที่สิ้นสุดควรเป็นวันเดียวกับวันที่เริ่มต้น
สี: หากต้องการ ให้เลือกสีจากตัวเลือกที่แสดง หากไม่ต้องการสี ให้เลือกตัวเลือก
ไม่มีสีซึ่งแสดงเป็นกล่องสีขาว สีที่เลือกจะปรากฏบนแดชบอร์ดหลักของแอป การลา ทั้งในปฏิทินและในคำอธิบาย
ภาพรวม¶
เพื่อดูตารางเวลาการลาของผู้ใช้และ/หรือของทีมที่จัดการโดยพวกเขาแบบแบ่งตามสี ไปที่ จะแสดงปฏิทินพร้อมตัวกรองเริ่มต้น ทีมของฉัน ในมุมมองรายไตรมาส (สามเดือน)
เพื่อเปลี่ยนช่วงเวลาที่แสดง ให้คลิกปุ่ม (ช่วงเวลา) เพื่อเปิดเมนูแบบเลื่อนลง จากนั้นเลือก วันนี้, สัปดาห์นี้, เดือนนี้, ปีนี้ หรือช่วงเวลาที่กำหนดเอง เพื่อแสดงปฏิทินในมุมมองที่เกี่ยวข้อง
เพื่อนำทางไปข้างหน้าหรือย้อนกลับตามช่วงเวลาที่เลือก (เดือน, สัปดาห์ เป็นต้น) ให้คลิกปุ่ม (ลูกศรซ้าย) หรือ (ลูกศรขวา) เพื่อเลื่อนไปข้างหน้าหรือย้อนกลับในช่วงเวลาที่กำหนด ตัวอย่างเช่น หากเลือก เดือน ลูกศรจะปรับมุมมองทีละหนึ่งเดือน
เพื่อกลับไปยังมุมมองที่มีวันปัจจุบัน ให้คลิกปุ่ม (โฟกัสวันนี้) ได้ตลอดเวลา
สมาชิกในทีมแสดงตามตัวอักษรในแต่ละบรรทัด และการลาที่ขอไว้ไม่ว่าจะเป็นสถานะใด (อนุมัติแล้ว หรือ รออนุมัติ) จะมองเห็นได้ในปฏิทิน
พนักงานแต่ละคนจะถูกกำหนดสีแยกต่างหาก สีของพนักงานจะถูกเลือกแบบสุ่ม และ ไม่ สอดคล้องกับประเภทของการลาที่ขอ
สถานะของการลาจะแสดงด้วยรายละเอียดสีของคำขอ โดยจะปรากฏเป็นสีทึบ (อนุมัติแล้ว) หรือลายทาง (รออนุมัติ)
จำนวนวันหรือชั่วโมงที่ขอจะถูกเขียนบนคำขอ (หากมีพื้นที่เพียงพอ)
ที่ด้านล่างของปฏิทินในบรรทัด รวม กราฟแท่งจะแสดงจำนวนคนที่คาดว่าจะลาในแต่ละวัน ตัวเลขในแต่ละแท่งแสดงจำนวนพนักงานที่ลาในวันที่ไฮไลต์
คลิกที่รายการเวลาหยุดงานเพื่อดูรายละเอียดสำหรับรายการเวลาหยุดงานที่ต้องการ จำนวนชั่วโมงหรือวันทั้งหมดจะแสดงพร้อมกับเวลาเริ่มต้นและเวลาสิ้นสุดของเวลาหยุดงาน หากต้องการดูรายละเอียดของคำขอเวลาหยุดงานในโมดัล ให้คลิกปุ่ม ดู
ดูเพิ่มเติม