feat: Portal, Email Inbound, Discuss + module improvements
- 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>
This commit is contained in:
16
addons/mail/models/init.go
Normal file
16
addons/mail/models/init.go
Normal file
@@ -0,0 +1,16 @@
|
||||
// Package models registers all mail module models.
|
||||
package models
|
||||
|
||||
// Init registers all models for the mail module.
|
||||
// Called by the module loader in dependency order.
|
||||
func Init() {
|
||||
initMailMessage() // mail.message
|
||||
initMailFollowers() // mail.followers
|
||||
initMailActivityType() // mail.activity.type
|
||||
initMailActivity() // mail.activity
|
||||
initMailChannel() // mail.channel + mail.channel.member
|
||||
// Extensions (must come after base models are registered)
|
||||
initMailThread()
|
||||
initMailChannelExtensions()
|
||||
initDiscussBus()
|
||||
}
|
||||
Reference in New Issue
Block a user