Repository
OCA/project · module folder · Try on Runboat
Module version
1.2.1
Category
Project Management
Folder size
0.42 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/project
Last tracking update
2026-08-07 07:31:54
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
Weblate, cubells, OCA Transbot, OCA-git-bot, oca-travis, Marcel Savegnago, valentin vinagre urteaga, mallen
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
edit_project_consume_material project.project.form project.project form Inherits project.edit_project
task_type_consume_material project.task.type.consume.material project.task.type Inherits project.task_type_edit
view_project_task_form_material_stock project.task.form.material project.task form Inherits project_task_material.view_project_task_form_material
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (6)

New fields (1)
  • task_material_id One2many → project.task.material
    string='Project Task Material' args: 'project.task.material', 'analytic_line_id'
Public methods (0)

No public methods.

New fields (2)
  • location_dest_id Many2one → stock.location
    comodel_name='stock.location' help='Default location to which materials are consumed.' index=True string='Destination Location'
  • location_source_id Many2one → stock.location
    comodel_name='stock.location' help='Default location from which materials are consumed.' index=True string='Source Location'
Public methods (0)

No public methods.

New fields (9)
  • analytic_account_id Many2one → account.analytic.account
    comodel_name='account.analytic.account' help='Move created will be assigned to this analytic account' string='Move Analytic Account'
  • analytic_line_ids Many2many → account.analytic.line
    comodel_name='account.analytic.line' compute='_compute_analytic_line' string='Analytic Lines'
  • consume_material Boolean
    related='stage_id.consume_material'
  • location_dest_id Many2one → stock.location
    comodel_name='stock.location' help='Keep this field empty to use the default value from the project.' index=True string='Destination Location'
  • location_source_id Many2one → stock.location
    comodel_name='stock.location' help='Keep this field empty to use the default value from the project.' index=True string='Source Location'
  • picking_id Many2one → stock.picking
    related='stock_move_ids.picking_id' args: 'stock.picking'
  • picking_type_id Many2one → stock.picking.type
    comodel_name='stock.picking.type' domain=[('code', 'in', ('outgoing', 'internal'))] index=True string='Operation Type'
  • stock_move_ids Many2many → stock.move
    comodel_name='stock.move' compute='_compute_stock_move' string='Stock Moves'
  • stock_state Selection
    compute='_compute_stock_state' selection=[('pending', 'Pending'), ('confirmed', 'Confirmed'), ('assigned', 'Assigned'), ('done', 'Done')]
Public methods (5)
  • action_assign(self)
    @api.multi
  • action_done(self)
    @api.multi
  • unlink(self)
    @api.multi
  • unlink_stock_move(self)
    @api.multi
  • write(self, vals)
    @api.multi

New fields (4)
  • analytic_line_id Many2one → account.analytic.line
    comodel_name='account.analytic.line' string='Analytic Line'
  • product_id Many2one
    domain="[('type', 'in', ('consu', 'product'))]"
  • product_uom_id Many2one → uom.uom
    comodel_name='uom.uom' oldname='product_uom' string='Unit of Measure'
  • stock_move_id Many2one → stock.move
    comodel_name='stock.move' string='Stock Move'
Public methods (4)
  • create_analytic_line(self)
    @api.multi
  • create_stock_move(self)
    @api.multi
  • unlink(self)
    @api.multi
  • unlink_stock_move(self)
    @api.multi

New fields (1)
  • consume_material Boolean
    help='If you mark this check, when a task goes to this state, it will consume the associated materials'
Public methods (0)

No public methods.

New fields (1)
  • task_material_id One2many → project.task.material
    string='Project Task Material' args: 'project.task.material', 'stock_move_id'
Public methods (0)

No public methods.

Loading…

Loading…