Employee Exemption

hr_employee_exemption
REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/7.0/hr_employee_exemption
VERSION
VERSION 1.0
CATEGORY
CATEGORYGeneric Modules/Human Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Savoir-faire Linux
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Savoir-faire Linux
COMMITTERS
COMMITTERSAlexandre Fayolle, Stéphane Bidoul (ACSONE), OCA Transbot, dufresnedavid
WEBSITE
WEBSITEhttps://www.savoirfairelinux.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr_payroll
    - hr
    - base_setup
    - base
    - web_kanban
    - web
    - mail
    - resource
    - process
    - board
    - hr_contract
    - hr_holidays
    - base_calendar
    - base_status
    - base_action_rule
    - decimal_precision
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Employee Exemption
==================
This module implements employee exemption.
This allows in salary rules to know whether the employee is exempted
from a source deduction.
    

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
hr_employee_view_form hr.employee.form hr.employee notebook Inherits hr.view_employee_form
hr_income_tax_exemption_form hr.income.tax.exemption.form hr.income.tax.exemption form New
hr_income_tax_exemption_list hr.income.tax.exemption.tree hr.income.tax.exemption tree New
hr_salary_rule_form hr.salary.rule.form hr.salary.rule field Inherits hr_payroll.hr_salary_rule_form
Models touched (4)

New fields (0)

No new fields.

Public methods (1)
  • exempted_from(self, cr, uid, ids, exemption, date, context=None)
    The method to call from a salary rule to check whether an employee is exempted from a source deduction :type exemption: hr.income.tax.exemption browse record

New fields (0)

No new fields.

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 (2)
  • check_exemption(self, cr, uid, ids, localdict, context=None)
    Check whether the employee is exempted for the given rule
  • compute_rule(self, cr, uid, rule_id, localdict, context=None)