TIP: You can type at any time to perform a new search.
Canada - Income Tax Deductions
l10n_ca_hr_income_tax_deductions · OCA/l10n-canada
Security findings
Migration considerations
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools.translate` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- For a target of Odoo 10.0+: use the `__manifest__.py` manifest name instead of `__openerp__.py`. The filename alone does not establish module age or compatibility. migration-openerp-manifest · source
hr_deduction_category— Class 'hr_deduction_category' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourcehr_deduction_category— Class 'hr_deduction_category' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcehr_deduction_category— Class 'hr_deduction_category' declares `_defaults` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcehr_employee— Class 'hr_employee' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourcehr_employee— Class 'hr_employee' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcehr_employee_deduction— Class 'hr_employee_deduction' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourcehr_employee_deduction— Class 'hr_employee_deduction' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcehr_employee_deduction— Class 'hr_employee_deduction' declares `_defaults` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcehr_deduction_category_list— View 'hr_deduction_category_list' is defined with a `<tree>` root tag: renamed to `<list>` in Odoo 18.0. migration-view-tree-tag · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/l10n-canada · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Localization
- Folder size
- 0.04 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://www.savoirfairelinux.com
- Last tracking update
- 2026-08-07 06:56:14
- Authors
- Savoir-faire Linux, Odoo Community Association (OCA)
- Maintainers
- Savoir-faire Linux, Odoo Community Association (OCA)
- Committers
- Alexandre Fayolle, Stéphane Bidoul (ACSONE), OCA Transbot, dufresnedavid
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Canada Income Tax Deductions ============================ * Adds Income Tax Deductions Contributors ------------ * David Dufresne <david.dufresne@savoirfairelinux.com> * Pierre Lamarche <pierre.lamarche@savoirfairelinux.com>
Code Analysis
Views touched (4)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
hr_deduction_category_form |
hr.deduction.category.form | hr.deduction.category | form | New |
hr_deduction_category_list |
hr.deduction.category.tree | hr.deduction.category | tree | New |
hr_employee_view_form |
hr.employee.form | hr.employee | form | Inherits hr.view_employee_form |
view_hr_deduction_category_filter |
hr.deduction.category.select | hr.deduction.category | search | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (1)-
sum_deductions(self, cr, uid, ids, employee_id, date_from, date_to, deduction_codes, pays_per_year, estimated_income=False, context=None)Sums over an employee's income tax deductions estimated_income: whether the result will be used to calculate the employee's estimated income
New fields (0)
No new fields.
Public methods (1)-
onchange_category_id(self, cr, uid, ids, category_id, amount)