- Portal: /my/* routes, signup, password reset, portal user support - Email Inbound: IMAP polling (go-imap/v2), thread matching - Discuss: mail.channel, long-polling bus, DM, unread count - Cron: ir.cron runner (goroutine scheduler) - Bank Import, CSV/Excel Import - Automation (ir.actions.server) - Fetchmail service - HR Payroll model - Various fixes across account, sale, stock, purchase, crm, hr, project Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
50 lines
962 B
Go
50 lines
962 B
Go
package models
|
|
|
|
func Init() {
|
|
// Core HR models
|
|
initResourceCalendar()
|
|
initHREmployee()
|
|
initHRDepartment()
|
|
initHRJob()
|
|
initHrContract()
|
|
|
|
// Employee categories (tags)
|
|
initHrEmployeeCategory()
|
|
|
|
// Leave management
|
|
initHrLeaveType()
|
|
initHrLeave()
|
|
initHrLeaveAllocation()
|
|
|
|
// Attendance
|
|
initHrAttendance()
|
|
|
|
// Expenses
|
|
initHrExpense()
|
|
|
|
// Skills & Resume
|
|
initHrSkill()
|
|
|
|
// Payroll (salary rules, structures, payslips)
|
|
initHrPayroll()
|
|
|
|
// Employee public view (read-only subset)
|
|
initHrEmployeePublic()
|
|
|
|
// Extend hr.employee with links to new models (must come last)
|
|
initHrEmployeeExtensions()
|
|
|
|
// Leave extensions (batch approve, remaining quota)
|
|
initHrLeaveExtensions()
|
|
initHrLeaveTypeExtensions()
|
|
|
|
// Leave report (transient model)
|
|
initHrLeaveReport()
|
|
|
|
// Contract cron methods (after contract model is registered)
|
|
initHrContractCron()
|
|
|
|
// Accrual allocation cron (after allocation model is registered)
|
|
initHrLeaveAccrualCron()
|
|
}
|