Announcement

hr_announcement
REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/17.0/hr_announcement
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYServer UX
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSOCA-git-bot, Juanjo, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/hr
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-ux:
    - announcement
odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - hr
    - phone_validation
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
The hr_announcement module extends the announcement module by adding 3
new options to the announcement type. This module allows the creation
and management of announcements, which can be sent to employees,
departments, or job positions.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
announcement_management_view_form announcement xpath Inherits announcement.announcement_management_view_form
Models touched (2)

New fields (4)
  • announcement_type Selection
    ondelete={'employee': 'set default', 'department': 'set default', 'job_position': 'set default'} selection_add=[('employee', 'Employee'), ('department', 'Department'), ('job_position', 'Job Position')]
  • department_ids Many2many → hr.department
    comodel_name='hr.department' string='Departments'
  • employee_ids Many2many → hr.employee
    comodel_name='hr.employee' string='Employees'
  • position_ids Many2many → hr.job
    comodel_name='hr.job' string='Job Positions'
Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, vals)

New fields (0)

No new fields.

Public methods (1)
  • announcement_user_count(self)
    @api.model
REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/15.0/hr_announcement
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYServer UX
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, pilarvargas-tecnativa
WEBSITE
WEBSITEhttps://github.com/OCA/hr
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:36
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-ux:
    - announcement
odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - hr
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
announcement_management_view_form announcement xpath Inherits announcement.announcement_management_view_form
Models touched (2)

New fields (4)
  • announcement_type Selection
    ondelete={'employee': 'set default', 'department': 'set default', 'job_position': 'set default'} selection_add=[('employee', 'Employee'), ('department', 'Department'), ('job_position', 'Job Position')]
  • department_ids Many2many → hr.department
    comodel_name='hr.department' string='Departments'
  • employee_ids Many2many → hr.employee
    comodel_name='hr.employee' string='Employees'
  • position_ids Many2many → hr.job
    comodel_name='hr.job' string='Job Positions'
Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, vals)

New fields (0)

No new fields.

Public methods (1)
  • announcement_user_count(self)
    @api.model
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/hr
PULL REQUEST
PULL REQUEST[18.0][MIG] hr_announcement: Migration to 18.0 (#1582)