TIP: You can type at any time to perform a new search.
Payroll Analysis
hr_payroll_analysis · OCA/hr
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.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` 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
- 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_payslip— Class 'hr_payslip' 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_payslip— Class 'hr_payslip' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcehr_payslip_analysis_line— Class 'hr_payslip_analysis_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_payslip_analysis_line— Class 'hr_payslip_analysis_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_salary_rule— Class 'hr_salary_rule' 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_salary_rule— Class 'hr_salary_rule' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcepayroll_analysis— Class 'payroll_analysis' still inherits from the old-style `orm.TransientModel` 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 · sourcepayroll_analysis— Class 'payroll_analysis' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcepayroll_analysis— Class 'payroll_analysis' declares `_defaults` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcepayroll_analysis_config_form— For a target of Odoo 17.0+: view 'payroll_analysis_config_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 · sourceview_payslip_analysis_line_tree— View 'view_payslip_analysis_line_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/hr · module folder · Try on Runboat
- Module version
- 1.0
- Category
- Generic Modules/Human Resources
- Folder size
- 0.37 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://www.savoirfairelinux.com/
- Last tracking update
- 2026-08-07 06:56:12
- Authors
- Savoir-faire Linux, Odoo Community Association (OCA)
- Maintainers
- Savoir-faire Linux, Odoo Community Association (OCA)
- Committers
- Alexandre Fayolle, OCA Transbot, dufresnedavid
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Payroll Analysis ================ This module adds a report over amounts of payslips line related to a a salary rule. It allows to group amounts by date, companies, salary rules and employees. Contributors ------------ * David Dufresne <david.dufresne@savoirfairelinux.com>
Code Analysis
Views touched (4)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
hr_salary_rule_form |
hr.salary.rule.form | hr.salary.rule | form | Inherits hr_payroll.hr_salary_rule_form |
payroll_analysis_analytic_filter |
hr.payslip.analysis.line.filter | hr.payslip.analysis.line | search | New |
payroll_analysis_config_form |
hr.payroll.analysis.form | hr.payroll.analysis | form | New |
view_payslip_analysis_line_tree |
hr.payslip.analysis.line.tree | hr.payslip.analysis.line | tree | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (0)
No new fields.
Public methods (2)-
onchange_period(self, cr, uid, ids, period, context=None) -
payroll_analysis_open_window(self, cr, uid, ids, context=None)This method returns an action that displays profitability lines requested in the wizard
New fields (0)
No new fields.
Public methods (4)-
cancel_sheet(self, cr, uid, ids, context=None)Make sure no analytic lines exist when a payslip is cancelled -
compute_analysis_lines(self, cr, uid, ids, context=None) -
process_sheet(self, cr, uid, ids, context=None)Create the analysis lines when the payslip is confirmed -
remove_analysis_lines(self, cr, uid, ids, context=None)Make sure no analysis line has already been computed
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (2)-
refresh_analysis_lines(self, cr, uid, ids, context=None)This method is used to refresh the analysis lines when a salary rule's include_in_payroll_analysis field is changed -
write(self, cr, uid, ids, vals, context=None)