Hr Maintenance Workspace

hr_maintenance_workspace
REPOSITORY
REPOSITORYOCA/hr
GIT
GIThttps://github.com/OCA/hr.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/hr/tree/14.0/hr_maintenance_workspace
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYHuman Resources
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), SDi Digital Group
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), SDi Digital Group
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Valentin Castravete
WEBSITE
WEBSITEhttps://github.com/OCA/hr
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:02
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - hr_maintenance
    - hr
    - base_setup
    - base
    - web
    - mail
    - bus
    - web_tour
    - resource
    - maintenance
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
maintenance_equipment_view_form_inherit_hr maintenance.equipment.view.form.inherit.hr maintenance.equipment xpath Inherits maintenance.hr_equipment_view_form
maintenance_equipment_view_kanban_inherit_hr maintenance.equipment xpath Inherits maintenance.hr_equipment_view_kanban
maintenance_equipment_view_search_inherit_hr maintenance.equipment filter Inherits maintenance.hr_equipment_view_search
maintenance_equipment_view_tree_inherit_hr maintenance.equipment xpath Inherits maintenance.hr_equipment_view_tree
maintenance_workspace_view_form maintenance.workspace form New
maintenance_workspace_view_kanban maintenance.workspace kanban New
maintenance_workspace_view_search maintenance.workspace search New
maintenance_workspace_view_tree maintenance.workspace tree New
view_employee_form hr.employee div Inherits hr.view_employee_form
Models touched (3)

New fields (2)
  • workspace_count Integer
    compute='_compute_workspace_count' name='Workspaces'
  • workspace_ids Many2many → maintenance.workspace
    comodel_name='maintenance.workspace' string='Workspaces'
Public methods (1)
  • button_employee_workspaces(self)

New fields (2)
  • equipment_assign_to Selection
    ondelete={'workspace': 'set default', 'other': 'set default'} selection_add=[('workspace', 'Workspace'), ('other', 'Other')]
  • workspace_id Many2one → maintenance.workspace
    comodel_name='maintenance.workspace' string='Workspace' tracking=True
Public methods (0)

No public methods.

New fields (8)
  • description Char
    string='Description'
  • employee_count Integer
    compute='_compute_employee_count' store=True string='Employee count'
  • employee_equipment_count Integer
    compute='_compute_employee_equipment_count' store=True string='Employee Equipment Count'
  • employee_ids Many2many → hr.employee
    comodel_name='hr.employee' string='Employees'
  • equipment_count Integer
    compute='_compute_equipment_count' name='Equipments' store=True
  • equipment_ids One2many → maintenance.equipment
    comodel_name='maintenance.equipment' inverse_name='workspace_id'
  • location Char
    string='Location'
  • name Char
    required=True string='Name'
Public methods (1)
  • button_employee_equipment_count(self)