TIP: You can type at any time to perform a new search.
Payslip Year-to-date Amount
hr_payslip_ytd_amount · 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.addons.decimal_precision` 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
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_line— Class 'hr_payslip_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_line— Class 'hr_payslip_line' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · 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.02 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://www.savoirfairelinux.com
- Last tracking update
- 2026-08-07 07:17:51
- Authors
- Savoir-faire Linux, Odoo Community Association (OCA)
- Maintainers
- Savoir-faire Linux, Odoo Community Association (OCA)
- Committers
- Pedro M. Baeza, Stéphane Bidoul (ACSONE)
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Payslip Year-to-date Amount =========================== This module adds a field in payslip lines for year-to-date amounts. The year-to-date value is calculated only for the rules that appear on payslip after the computation of the payslip. The purpose of this module is to eliminate redondant rules that calculate the year-to-date value of other rules. Contributors ------------ * David Dufresne <david.dufresne@savoirfairelinux.com> * Pierre Lamarche <pierre.lamarche@savoirfairelinux.com>
Code Analysis
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_hr_payslip_form |
hr.payslip.form | hr.payslip | form | Inherits hr_payroll.view_hr_payslip_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (0)
No new fields.
Public methods (2)-
compute_lines_ytd(self, cr, uid, ids, context=None) -
compute_sheet(self, cr, uid, ids, context=None)
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…