Payslip Input Type Policy
hr_payslip_input_policy · OCA/hr
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 122 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.32 MB
Module directory on disk
Code analysis
8 migration notes
5 models
3 views
0 HTTP endpoints
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
HrContractInputType— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · sourceHrPayslip— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) (2 occurrences in this file) migration-api-multi-one · sourceHrPayslipInputType— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · sourcehr_payslip_input_type_view_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
hr_contract_view_form |
hr.contract form | hr.contract | form | Inherits hr_contract.hr_contract_view_form |
hr_payslip_input_type_view_form |
hr.payslip.input_type form | hr.payslip.input_type | form | New |
hr_payslip_input_type_view_tree |
hr.payslip.input_type tree | hr.payslip.input_type | tree | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (1)
-
input_type_idsOne2many → hr.contract.input_typecomodel_name='hr.contract.input_type'inverse_name='contract_id'string='Input Types'
No public methods.
New fields (3)
-
amountFloatrequire=Truestring='Amount' -
contract_idMany2one → hr.contractcomodel_name='hr.contract'ondelete='cascade'required=Truestring='Contract' -
input_type_idMany2one → hr.payslip.input_typecomodel_name='hr.payslip.input_type'ondelete='restrict'required=Truestring='Input Type'
No public methods.
New fields (0)
No new fields.
Public methods (1)-
compute_sheet(self)@api.multi
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (4)
-
activeBooleandefault=Truestring='Active' -
codeCharrequired=Truestring='Code' -
descriptionTextstring='Description'translate=True -
nameCharrequired=Truestring='Input Type'translate=True
No public methods.