Hr Collective Agreement
hr_collective_agreement · OCA/hr
Health
70/100
fair
-
Security25/25No findings
-
Activity20/25Last human commit 10 months ago
-
Required by20/252 modules depend on it
-
Maturity5/25In 1 Odoo series since 18.0
Heuristic over the facts below, not an audit · How it's computed
Required by
2
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.11 MB
Module directory on disk
Code analysis
3 migration notes
3 models
5 views
0 HTTP endpoints
Migration considerations
CollectiveAgreement— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · sourceCollectiveAgreementOfficialPublication— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · sourceCollectiveAgreementScope— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · 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
This module provides a core model to manage collective wage agreements in a multi-company environment. It allows defining and maintaining collective agreements with information such as code, name, scope, publication dates, official publications, state and observations.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_collective_agreement_official_publication_tree |
collective.agreement.official.publication.tree | collective.agreement.official.publication | list | New |
view_collective_agreement_scope_tree |
collective.agreement.scope.tree | collective.agreement.scope | list | New |
view_collective_agreement_search |
collective.agreement.search | collective.agreement | search | New |
view_form_collective_agreement |
collective.agreement.form | collective.agreement | form | New |
view_list_collective_agreement |
collective.agreement.list | collective.agreement | list | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (11)
-
activeBooleandefault=True -
codeCharrequired=True -
company_idMany2one → res.companycomodel_name='res.company'default=<expr>index=Truerequired=Truestring='Company' -
end_dateDate -
nameTextrequired=True -
observationsText -
official_publication_idMany2one → collective.agreement.official.publicationcomodel_name='collective.agreement.official.publication'required=Truestring='Official Publication' -
partner_idsMany2many → res.partnercheck_company=Truecolumn1='agreement_id'column2='partner_id'comodel_name='res.partner'domain="['|', ('company_id', '=', False), ('company_id', '=', company_id)]"relation='collective_agreement_partner_rel'string='Partners' -
publication_dateDaterequired=True -
scope_idMany2one → collective.agreement.scopecomodel_name='collective.agreement.scope'required=Truestring='Scope' -
stateSelectiondefault='draft'required=Trueselection=[('draft', 'Draft'), ('active', 'Active'), ('finished', 'Finished'), ('cancelled', 'Cancelled')]
-
action_activate_agreement(self) -
action_cancel(self) -
action_draft(self) -
action_finish(self) -
action_update_states(self) -
copy_data(self, default=None)
New fields (1)
-
nameCharrequired=True
No public methods.
New fields (1)
-
nameCharrequired=True
No public methods.