TIP: You can type at any time to perform a new search.
Canada - Payroll
l10n_ca_hr_payroll · 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
hr_contract— Class 'hr_contract' 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_contract— Class 'hr_contract' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcehr_contract— Class 'hr_contract' 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— Class 'hr_employee' declares `_defaults` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcehr_payroll_tax_table— Class 'hr_payroll_tax_table' 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_payroll_tax_table— Class 'hr_payroll_tax_table' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcehr_payroll_tax_table— Class 'hr_payroll_tax_table' declares `_defaults` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcehr_payroll_tax_table_csst_line— Class 'hr_payroll_tax_table_csst_line' 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_payroll_tax_table_csst_line— Class 'hr_payroll_tax_table_csst_line' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcehr_payroll_tax_table_ei_line— Class 'hr_payroll_tax_table_ei_line' 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_payroll_tax_table_ei_line— Class 'hr_payroll_tax_table_ei_line' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcehr_payroll_tax_table_federal_line— Class 'hr_payroll_tax_table_federal_line' 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_payroll_tax_table_federal_line— Class 'hr_payroll_tax_table_federal_line' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcehr_payroll_tax_table_form— For a target of Odoo 17.0+: view 'hr_payroll_tax_table_form' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · sourcehr_payroll_tax_table_qc_line— Class 'hr_payroll_tax_table_qc_line' 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_payroll_tax_table_qc_line— Class 'hr_payroll_tax_table_qc_line' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcehr_payroll_tax_table_rqap_line— Class 'hr_payroll_tax_table_rqap_line' 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_payroll_tax_table_rqap_line— Class 'hr_payroll_tax_table_rqap_line' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcehr_payroll_tax_table_tree— View 'hr_payroll_tax_table_tree' 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
- Category
- Generic Modules/Human Resources
- Folder size
- 0.04 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://community.odoo.com/project/42
- Last tracking update
- 2026-08-07 07:17:53
- Authors
- Odoo Community Association (OCA), Odoo Canada
- Maintainers
- Odoo Community Association (OCA), Odoo Canada
- Committers
- Pedro M. Baeza
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- l10n_ca_hr_payroll_account, l10n_ca_qc_hr_payroll
- Description
Canada Payroll Rules ==================== * Adds Federal Salary Rules * Adds Federal Salary Structure * Adds Federal Claim Codes, Deductions and Exemptions on the Employee Form * Adds 'Pays Per Year' field on the Contract Form Contributors ------------ * Jonatan Cloutier <jonatan.cloutier@savoirfairelinux.com> * Maxime Chambreuil <maxime.chambreuil@savoirfairelinux.com> * Sandy Carter <sandy.carter@savoirfairelinux.com>
Code Analysis
Views touched (6)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
hr_contract_form_inherit |
hr.contract.view.form.inherit | hr.contract | form | Inherits hr_contract.hr_contract_view_form |
hr_employee_view_form_inherit |
hr.employee.view.form.inherit | hr.employee | form | Inherits hr.view_employee_form |
hr_payroll_tax_table_form |
hr.payroll.tax.table.form | hr.payroll.tax.table | form | New |
hr_payroll_tax_table_search |
hr.payroll.tax.table.search | hr.payroll.tax.table | search | New |
hr_payroll_tax_table_tree |
hr.payroll.tax.table.tree | hr.payroll.tax.table | tree | New |
hr_salary_rule_list_inherit |
hr.salary.rule.list.inherit | hr.salary.rule | tree | Inherits hr_payroll.hr_salary_rule_list |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (8)
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 (1)-
onchange_year(self, cr, uid, ids, year, prov=False)
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 (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…
Loading…