HR Attendance Auto Close

hr_attendance_autoclose
REPOSITORY
REPOSITORYOCA/hr-attendance
GIT
GIThttps://github.com/OCA/hr-attendance.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr-attendance/tree/17.0/hr_attendance_autoclose
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA)
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA)
COMMITTERS
COMMITTERSCarlos Lopez, Weblate, OCA-git-bot, oca-ci, Bhavesh Heliconia
WEBSITE
WEBSITEhttps://github.com/OCA/hr-attendance
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:08
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/hr-attendance:
    - hr_attendance_reason
odoo/odoo:
    - hr_attendance
    - hr
    - base_setup
    - base
    - web
    - phone_validation
    - mail
    - bus
    - web_tour
    - resource
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module close stale attendances automatically. Without this module,
when an employee forgets to check out at the end on the day and the next
day the employee does not realize of that, then the error is propagated
and all the attendances are wrong. With this module only the attendance
with the issue is wrong, and the manager knows the system closes the
attendance, not the employee

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
hr_attendance_view_form hr.attendance.form hr.attendance field Inherits hr_attendance.hr_attendance_view_form
res_config_settings_view_form res.config.settings xpath Inherits hr_attendance.res_config_settings_view_form
view_attendance_tree hr.attendance.tree hr.attendance field Inherits hr_attendance.view_attendance_tree
view_employee_form_inherit_hr_attendance hr.employee.form (in hr_attendance_autoclose) hr.employee xpath Inherits hr_attendance.view_employee_form_inherit_hr_attendance
Models touched (4)

New fields (1)
  • open_worked_hours Float
    compute='_compute_open_worked_hours' string='Worked hours'
Public methods (3)
  • autoclose_attendance(self, reason)
  • check_for_incomplete_attendances(self)
    @api.model
  • needs_autoclose(self)

New fields (1)
  • no_autoclose Boolean
    groups='hr.group_hr_user' string="Don't Autoclose Attendances"
Public methods (0)

No public methods.

New fields (2)
  • attendance_maximum_hours_per_day Float
    default=11.0 digits=(2, 2)
  • hr_attendance_autoclose_reason Many2one → hr.attendance.reason
    default=<expr> args: 'hr.attendance.reason'
Public methods (0)

No public methods.

New fields (2)
  • attendance_maximum_hours_per_day Float
    readonly=False related='company_id.attendance_maximum_hours_per_day'
  • hr_attendance_autoclose_reason Many2one
    readonly=False related='company_id.hr_attendance_autoclose_reason'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/hr-attendance
GIT
GIThttps://github.com/OCA/hr-attendance.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr-attendance/tree/16.0/hr_attendance_autoclose
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA)
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Alessandro Uffreduzzi
WEBSITE
WEBSITEhttps://github.com/OCA/hr-attendance
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:53
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/hr-attendance:
    - hr_attendance_reason
odoo/odoo:
    - hr_attendance
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
hr_attendance_view_form hr.attendance.form hr.attendance field Inherits hr_attendance.hr_attendance_view_form
res_config_settings_view_form res.config.settings xpath Inherits hr_attendance.res_config_settings_view_form
view_attendance_tree hr.attendance.tree hr.attendance field Inherits hr_attendance.view_attendance_tree
view_employee_form_inherit_hr_attendance hr.employee.form (in hr_attendance_autoclose) hr.employee xpath Inherits hr_attendance.view_employee_form_inherit_hr_attendance
Models touched (4)

New fields (1)
  • open_worked_hours Float
    compute='_compute_open_worked_hours' string='Worked hours'
Public methods (3)
  • autoclose_attendance(self, reason)
  • check_for_incomplete_attendances(self)
    @api.model
  • needs_autoclose(self)

New fields (1)
  • no_autoclose Boolean
    groups='hr.group_hr_user' string="Don't Autoclose Attendances"
Public methods (0)

No public methods.

New fields (2)
  • attendance_maximum_hours_per_day Float
    default=11.0 digits=(2, 2)
  • hr_attendance_autoclose_reason Many2one → hr.attendance.reason
    default=<expr> args: 'hr.attendance.reason'
Public methods (0)

No public methods.

New fields (2)
  • attendance_maximum_hours_per_day Float
    readonly=False related='company_id.attendance_maximum_hours_per_day'
  • hr_attendance_autoclose_reason Many2one
    readonly=False related='company_id.hr_attendance_autoclose_reason'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/hr-attendance
GIT
GIThttps://github.com/OCA/hr-attendance.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr-attendance/tree/15.0/hr_attendance_autoclose
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA)
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA)
COMMITTERS
COMMITTERSVíctor Martínez, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/hr-attendance
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:39
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/hr-attendance:
    - hr_attendance_reason
odoo/odoo:
    - hr_attendance
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
hr_attendance_view_form hr.attendance.form hr.attendance field Inherits hr_attendance.hr_attendance_view_form
res_config_settings_view_form res.config.settings xpath Inherits hr_attendance.res_config_settings_view_form
view_attendance_tree hr.attendance.tree hr.attendance field Inherits hr_attendance.view_attendance_tree
view_employee_form_inherit_hr_attendance hr.employee.form (in hr_attendance_autoclose) hr.employee xpath Inherits hr_attendance.view_employee_form_inherit_hr_attendance
Models touched (4)

New fields (1)
  • open_worked_hours Float
    compute='_compute_open_worked_hours' string='Worked hours'
Public methods (3)
  • autoclose_attendance(self, reason)
  • check_for_incomplete_attendances(self)
    @api.model
  • needs_autoclose(self)

New fields (1)
  • no_autoclose Boolean
    groups='hr.group_hr_user' string="Don't Autoclose Attendances"
Public methods (0)

No public methods.

New fields (2)
  • attendance_maximum_hours_per_day Float
    default=11.0 digits=(2, 2)
  • hr_attendance_autoclose_reason Many2one → hr.attendance.reason
    default=<expr> args: 'hr.attendance.reason'
Public methods (0)

No public methods.

New fields (2)
  • attendance_maximum_hours_per_day Float
    readonly=False related='company_id.attendance_maximum_hours_per_day'
  • hr_attendance_autoclose_reason Many2one
    readonly=False related='company_id.hr_attendance_autoclose_reason'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/hr-attendance
GIT
GIThttps://github.com/OCA/hr-attendance.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr-attendance/tree/14.0/hr_attendance_autoclose
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA)
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA)
COMMITTERS
COMMITTERSPierre Verkest, OCA Transbot, oca-travis, Weblate, OCA-git-bot, oca-ci, Brian McMaster, Alessandro Uffreduzzi, fshah
WEBSITE
WEBSITEhttps://github.com/OCA/hr-attendance
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:06
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/hr-attendance:
    - hr_attendance_reason
odoo/odoo:
    - hr_attendance
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
hr_attendance_view_form hr.attendance.form hr.attendance field Inherits hr_attendance.hr_attendance_view_form
res_config_settings_view_form res.config.settings xpath Inherits hr_attendance.res_config_settings_view_form
view_attendance_tree hr.attendance.tree hr.attendance field Inherits hr_attendance.view_attendance_tree
view_employee_form_inherit_hr_attendance hr.employee.form (in hr_attendance_autoclose) hr.employee xpath Inherits hr_attendance.view_employee_form_inherit_hr_attendance
Models touched (4)

New fields (1)
  • open_worked_hours Float
    compute='_compute_open_worked_hours' string='Worked hours'
Public methods (3)
  • autoclose_attendance(self, reason)
  • check_for_incomplete_attendances(self)
    @api.model
  • needs_autoclose(self)

New fields (1)
  • no_autoclose Boolean
    groups='hr.group_hr_user' string="Don't Autoclose Attendances"
Public methods (0)

No public methods.

New fields (2)
  • attendance_maximum_hours_per_day Float
    default=11.0 digits=(2, 2) string='Attendance Maximum Hours Per Day'
  • hr_attendance_autoclose_reason Many2one → hr.attendance.reason
    default=<expr> args: 'hr.attendance.reason'
Public methods (0)

No public methods.

New fields (2)
  • attendance_maximum_hours_per_day Float
    readonly=False related='company_id.attendance_maximum_hours_per_day'
  • hr_attendance_autoclose_reason Many2one
    readonly=False related='company_id.hr_attendance_autoclose_reason'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/hr-attendance
GIT
GIThttps://github.com/OCA/hr-attendance.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr-attendance/tree/13.0/hr_attendance_autoclose
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA)
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA)
COMMITTERS
COMMITTERSmreficent, OCA Transbot, Víctor Martínez, oca-travis, Weblate, OCA-git-bot, Jaime Arroyo
WEBSITE
WEBSITEhttps://github.com/OCA/hr-attendance
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/hr-attendance:
    - hr_attendance_reason
odoo/odoo:
    - hr_attendance
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
    - mail_bot
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
hr_attendance_view_form hr.attendance.form hr.attendance field Inherits hr_attendance.hr_attendance_view_form
view_attendance_tree hr.attendance.form hr.attendance field Inherits hr_attendance.view_attendance_tree
view_company_inherit_form res.company.form.inherit res.company notebook Inherits base.view_company_form
view_employee_form_inherit_hr_attendance hr.employee.form (in hr_attendance_autoclose) hr.employee xpath Inherits hr_attendance.view_employee_form_inherit_hr_attendance
Models touched (3)

New fields (1)
  • open_worked_hours Float
    compute='_compute_open_worked_hours' string='Worked hours'
Public methods (3)
  • autoclose_attendance(self, reason)
  • check_for_incomplete_attendances(self)
    @api.model
  • needs_autoclose(self)

New fields (1)
  • no_autoclose Boolean
    string="Don't Autoclose Attendances"
Public methods (0)

No public methods.

New fields (1)
  • attendance_maximum_hours_per_day Float
    default=11.0 digits=(2, 2) string='Attendance Maximum Hours Per Day'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/12.0/hr_attendance_autoclose
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA)
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA)
COMMITTERS
COMMITTERSmreficent, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Kitti U, Jaime Arroyo
WEBSITE
WEBSITEhttps://github.com/OCA/hr
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:19
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/hr:
    - hr_attendance_reason
odoo/odoo:
    - hr_attendance
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
hr_attendance_view_form hr.attendance.form hr.attendance field Inherits hr_attendance.hr_attendance_view_form
view_attendance_tree hr.attendance.form hr.attendance field Inherits hr_attendance.view_attendance_tree
view_company_inherit_form res.company.form.inherit res.company notebook Inherits base.view_company_form
view_employee_form_inherit_hr_attendance hr.employee.form (in hr_attendance_autoclose) hr.employee field Inherits hr_attendance.view_employee_form_inherit_hr_attendance
Models touched (3)

New fields (1)
  • open_worked_hours Float
    compute='_compute_open_worked_hours' string='Worked hours'
Public methods (3)
  • autoclose_attendance(self, reason)
    @api.multi
  • check_for_incomplete_attendances(self)
    @api.model
  • needs_autoclose(self)
    @api.multi

New fields (1)
  • no_autoclose Boolean
    string="Don't Autoclose Attendances"
Public methods (0)

No public methods.

New fields (1)
  • attendance_maximum_hours_per_day Float
    default=11.0 digits=(2, 2) string='Attendance Maximum Hours Per Day'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/11.0/hr_attendance_autoclose
VERSION
VERSION 1.3.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA)
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA)
COMMITTERS
COMMITTERSmreficent, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Jaime Arroyo
WEBSITE
WEBSITEhttps://github.com/OCA/hr
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/hr:
    - hr_attendance_reason
odoo/odoo:
    - hr_attendance
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
hr_attendance_view_form hr.attendance.form hr.attendance field Inherits hr_attendance.hr_attendance_view_form
view_attendance_tree hr.attendance.form hr.attendance field Inherits hr_attendance.view_attendance_tree
view_company_inherit_form res.company.form.inherit res.company notebook Inherits base.view_company_form
view_employee_form_inherit_hr_attendance hr.employee.form (in hr_attendance_autoclose) hr.employee field Inherits hr_attendance.view_employee_form_inherit_hr_attendance
Models touched (3)

New fields (1)
  • open_worked_hours Float
    compute='_compute_open_worked_hours' string='Worked hours'
Public methods (3)
  • autoclose_attendance(self, reason)
    @api.multi
  • check_for_incomplete_attendances(self)
    @api.model
  • needs_autoclose(self)
    @api.multi

New fields (1)
  • no_autoclose Boolean
    string="Don't Autoclose Attendances"
Public methods (1)
  • get_max_hours_per_day(self)
    @api.multi

New fields (1)
  • attendance_maximum_hours_per_day Float
    default=11.0 digits=(2, 2) string='Attendance Maximum Hours Per Day'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/10.0/hr_attendance_autoclose
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA)
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/hr
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/hr:
    - hr_attendance_reason
odoo/odoo:
    - hr_attendance
    - hr
    - base_setup
    - base
    - web_kanban
    - web
    - mail
    - bus
    - web_tour
    - resource
    - report
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
hr_attendance_view_form hr.attendance.form hr.attendance field Inherits hr_attendance.hr_attendance_view_form
view_attendance_tree hr.attendance.form hr.attendance field Inherits hr_attendance.view_attendance_tree
view_company_inherit_form res.company.form.inherit res.company notebook Inherits base.view_company_form
Models touched (2)

New fields (1)
  • open_worked_hours Float
    compute='_compute_open_worked_hours' store=False string='Worked hours'
Public methods (1)
  • check_for_incomplete_attendances(self)
    @api.model

New fields (1)
  • attendance_maximum_hours_per_day Float
    default=11.0 digits=(2, 2) string='Attendance Maximum Hours Per Day'
Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/hr-attendance
PULL REQUEST
PULL REQUEST[18.0][MIG] hr_attendance_autoclose: Migration to 18.0 (#228)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/hr-attendance
PULL REQUEST
PULL REQUEST[19.0][MIG] hr_attendance_autoclose: Migration to 19.0 (#252)