Skip to content
Health
70/100
fair
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 10 months ago
  • Required by20/25
    2 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 18.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

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

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
hr_collective_agreement_partner, l10n_es_hr_collective_agreement

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 5

XML IDNameModelTypeStatus
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)
  • active Boolean
    default=True
  • code Char
    required=True
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> index=True required=True string='Company'
  • end_date Date
  • name Text
    required=True
  • observations Text
  • official_publication_id Many2one → collective.agreement.official.publication
    comodel_name='collective.agreement.official.publication' required=True string='Official Publication'
  • partner_ids Many2many → res.partner
    check_company=True column1='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_date Date
    required=True
  • scope_id Many2one → collective.agreement.scope
    comodel_name='collective.agreement.scope' required=True string='Scope'
  • state Selection
    default='draft' required=True selection=[('draft', 'Draft'), ('active', 'Active'), ('finished', 'Finished'), ('cancelled', 'Cancelled')]
Public methods (6)
  • 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)
  • name Char
    required=True
Public methods (0)

No public methods.

New fields (1)
  • name Char
    required=True
Public methods (0)

No public methods.