38 lines
1.2 KiB
Python
38 lines
1.2 KiB
Python
# -*- coding: utf-8 -*-
|
|
from . import hr_attendance
|
|
from . import resource_calendar_leaves
|
|
from . import overtime_approval
|
|
from . import go_approval
|
|
from . import leave_approval
|
|
from . import remove_holiday_approval
|
|
from . import card_approval
|
|
from . import planning_template_inherit
|
|
from . import overtime_page
|
|
from . import yuthon_vacation_reports
|
|
from . import inherit_planning_role
|
|
from . import yuthon_shift_planning
|
|
from . import yuthon_run_planning
|
|
from . import duty_approval
|
|
from . import yuthon_customer_approval
|
|
from . import yuthon_duty_plan
|
|
from . import yuthon_duty_setting
|
|
from . import yuthon_adjustments_approval
|
|
from . import yuthon_abnormal_approval
|
|
from . import yuthon_abnormal_setting
|
|
from . import yuthon_shift_approval
|
|
from . import yuthon_special_approval
|
|
from . import yuthon_customer_planning
|
|
# from . import inherit_hr_employee
|
|
from . import hr_attendance_wechat
|
|
from . import hr_attendance_detail_wechat
|
|
from . import hr_attendance_month
|
|
from . import wifi_message
|
|
|
|
|
|
# from odoo.tools import SQL
|
|
# import odoo
|
|
# odoo.models.READ_GROUP_AGGREGATE.update({
|
|
# 'count_true': lambda table, expr: SQL('COUNT(*) FILTER (WHERE %s = true)', expr),
|
|
# 'count_false': lambda table, expr: SQL('COUNT(*) FILTER (WHERE %s = false)', expr),
|
|
# })
|