Mail Notify Employee Leave

mail_notify_employee_leave
REPOSITORY
REPOSITORYOCA/mail
GIT
GIThttps://github.com/OCA/mail.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/mail/tree/17.0/mail_notify_employee_leave
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, GuillermoNforgeflow
WEBSITE
WEBSITEhttps://github.com/OCA/mail
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - hr_holidays
    - hr
    - phone_validation
    - resource
    - calendar
    - onboarding
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module automatically notifies users when they mention or assign 
a colleague who is out of office. The notification includes the expected 
return date of the absent user and is sent only once per day per user.

Code Analysis

Views touched (0)

No views found for this module.

Models touched (3)

New fields (2)
  • absence_notified_date Date
    copy=False help='Date of the last notification record' readonly=True string='Date of Last Absence Notification'
  • absence_notified_user_ids Many2many → res.users
    copy=False help='Users who have already been notified today about this absence' readonly=True string='Users Notified Today' args: 'res.users'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • add_working_day(self, date_obj, employee)
    Returns the next working day after `date_obj` considering the employee's calendar.