Repository
OCA/project · module folder · Try on Runboat
Module version
1.2.0
Category
Uncategorized
Folder size
0.17 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/project
Last tracking update
2026-08-07 07:57:03
Authors
Odoo Community Association (OCA), Matmoz d.o.o., Luxim d.o.o., Deneroteam, ForgeFlow
Maintainers
Odoo Community Association (OCA), Matmoz d.o.o., Luxim d.o.o., Deneroteam, ForgeFlow
Committers
Pedro M. Baeza, AaronHForgeFlow, Weblate, OCA-git-bot, oca-ci, JasminSForgeFlow
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
edit_project project.project.form project.project form Inherits hr_timesheet.project_invoice_form
view_account_analytic_account_form account.analytic.account.form account.analytic.account form Inherits analytic.view_account_analytic_account_form
view_account_analytic_account_list account.analytic.account.list account.analytic.account tree Inherits analytic.view_account_analytic_account_list
view_account_analytic_account_search account.analytic.account.search account.analytic.account search Inherits analytic.view_account_analytic_account_search
view_account_analytic_account_search2 account.analytic.account.search account.analytic.account search Inherits analytic.view_account_analytic_account_search
view_project project.project.tree project.project tree Inherits project.view_project
view_project_kanban project.project.kanban.wbs project.project kanban Inherits project.view_project_kanban
view_project_project_filter project.project.select project.project search Inherits project.view_project_project_filter
view_project_project_group_filter project.project.group project.project Inherits project.view_project_project_filter
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (11)
  • account_class Selection
    default='project' help='The classification allows you to create a proper project Work Breakdown Structure' args: [('project', 'Project'), ('phase', 'Phase'), ('deliverable', 'Deliverable'), ('work_package', 'Work Package')], 'Class'
  • code Char
    copy=False
  • complete_wbs_code Char
    compute=_complete_wbs_code_calc help='The full WBS code describes the full path of this component within the project WBS hierarchy' store=True string='Full WBS Code'
  • complete_wbs_name Char
    compute=_complete_wbs_name_calc help='Full path in the WBS hierarchy' store=True string='Full WBS path'
  • manager_id Many2one → res.users
    tracking=True args: 'res.users', 'Manager'
  • parent_id Many2one
    default=_default_parent string='Parent Analytic Account'
  • partner_id Many2one
    default=_default_partner
  • project_analytic_id Many2one → account.analytic.account
    compute=_compute_project_analytic_id store=True string='Root Analytic Account' args: 'account.analytic.account'
  • project_ids One2many → project.project
    comodel_name='project.project' inverse_name='analytic_account_id' string='Projects'
  • user_id Many2one → res.users
    default=_default_user tracking=True args: 'res.users', 'Project Manager'
  • wbs_indent Char
    compute=_wbs_indent_calc string='Level'
Public methods (5)
  • code_get(self)
    @api.depends('code')
  • copy(self, default=None)
  • get_child_accounts(self)
  • name_get(self)
    @api.depends('name')
  • write(self, vals)

New fields (11)
  • account_class Selection
    default='project' readonly=False related='analytic_account_id.account_class' store=True
  • analytic_account_id Many2one → account.analytic.account
    index=True ondelete='restrict' required=True args: 'account.analytic.account', 'Analytic Account'
  • child_ids One2many
    readonly=False related='analytic_account_id.child_ids'
  • code Char
    readonly=False related='analytic_account_id.code'
  • complete_wbs_code Char
    related='analytic_account_id.complete_wbs_code' store=True string='WBS Code'
  • complete_wbs_name Char
    related='analytic_account_id.complete_wbs_name'
  • has_project_child_complete_ids Boolean
    compute='_compute_has_child'
  • parent_id Many2one
    readonly=False related='analytic_account_id.parent_id'
  • project_analytic_id Many2one
    readonly=True related='analytic_account_id.project_analytic_id' store=True
  • project_child_complete_ids Many2many → project.project
    comodel_name='project.project' compute='_compute_child' string='Project Hierarchy'
  • wbs_indent Char
    related='analytic_account_id.wbs_indent'
Public methods (13)
  • action_open_child_kanban_view(self)
  • action_open_child_tree_view(self)
  • action_open_child_view(self, act_window)
    @api.model
    :return dict: dictionary value for created view
  • action_open_parent_kanban_view(self)
    :return dict: dictionary value for created view
  • action_open_parent_tree_view(self)
    :return dict: dictionary value for created view
  • action_open_view_project_form(self)
  • code_get(self)
    @api.depends('analytic_account_id.code')
  • create(self, vals)
    @api.model
  • name_get(self)
    @api.depends('name')
  • on_change_parent(self)
    @api.onchange('parent_id')
  • prepare_analytics_vals(self, vals)
  • update_project_from_analytic_vals(self, vals)
  • write(self, vals)

Loading…

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
163 days ago
Last activity
88 days ago
Repository
OCA/project
Pull request
[18.0][MIG] project_wbs: Migration to 18.0 (#1690)