[FIX]allow_negative_leave_and_allocation:fix duration check
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
"name": "allow_negative_leave_and_allocation",
|
"name": "allow_negative_leave_and_allocation",
|
||||||
"version": "16.0.1.0.1",
|
"version": "16.0.1.0.2",
|
||||||
"author": "Elabore",
|
"author": "Elabore",
|
||||||
"website": "https://elabore.coop",
|
"website": "https://elabore.coop",
|
||||||
"maintainer": "Elabore",
|
"maintainer": "Elabore",
|
||||||
|
@@ -15,5 +15,4 @@ class HrLeaveAllocation(models.Model):
|
|||||||
"(holiday_type='department' AND department_id IS NOT NULL) or "
|
"(holiday_type='department' AND department_id IS NOT NULL) or "
|
||||||
"(holiday_type='company' AND mode_company_id IS NOT NULL))",
|
"(holiday_type='company' AND mode_company_id IS NOT NULL))",
|
||||||
"The employee, department, company or employee category of this request is missing. Please make sure that your user login is linked to an employee."),
|
"The employee, department, company or employee category of this request is missing. Please make sure that your user login is linked to an employee."),
|
||||||
('duration_check', "CHECK((allocation_type != 'regular'))", "The duration must be greater than 0."),
|
|
||||||
]
|
]
|
Reference in New Issue
Block a user