TIP: You can type at any time to perform a new search.

Security findings

Repository
OCA/hr · module folder · Try on Runboat
Module version
1.0.0
Category
Human Resources
Folder size
0.11 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/hr
Last tracking update
2026-08-07 08:43:00
Authors
Odoo Community Association (OCA), Sygel
Maintainers
Odoo Community Association (OCA), Sygel
Committers
Weblate, OCA-git-bot, oca-ci, Angel Rivas
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
hr_collective_agreement_partner, l10n_es_hr_collective_agreement
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.

Code Analysis info_outline

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.