Project Task Materials Stock

project_task_materials_stock
REPOSITORY
REPOSITORYOCA/project
GIT
GIThttps://github.com/OCA/project.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/project/tree/9.0/project_task_materials_stock
VERSION
VERSION 1.2.0
CATEGORY
CATEGORYProject Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Antiun Ingeniería S.L.
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Antiun Ingeniería S.L.
COMMITTERS
COMMITTERSPedro M. Baeza, GitHub, cubells, OCA Transbot, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/project:
    - project_task_materials
odoo/odoo:
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - report
    - procurement
    - barcodes
    - web_planner
    - account
    - analytic
    - web_tip
    - project_timesheet
    - resource
    - project
    - portal
    - auth_signup
    - sale_timesheet
    - sale
    - sales_team
    - hr_timesheet
    - hr
    - hr_attendance
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
edit_project_consume_material project.project.form project.project xpath Inherits project.edit_project
task_type_consume_material project.task.type.consume.material project.task.type field Inherits project.task_type_edit
view_project_task_form_materials_stock project.task.form.materials project.task field Inherits project_task_materials.view_project_task_form_materials
Models touched (4)

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 (6)
  • 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='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'
  • stock_move_ids Many2many → stock.move
    comodel_name='stock.move' compute='_compute_stock_move' string='Stock Moves'
  • stock_state Selection
    compute='_compute_stock_state' string='Stock State' args: [('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 (3)
  • analytic_line_id Many2one → account.analytic.line
    comodel_name='account.analytic.line' string='Analytic Line'
  • product_uom_id Many2one → product.uom
    comodel_name='product.uom' oldname='product_uom' string='Unit of Measure'
  • stock_move_id Many2one → stock.move
    comodel_name='stock.move' string='Stock Move'
Public methods (2)
  • create_analytic_line(self)
    @api.multi
  • create_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.

REPOSITORY
REPOSITORYOCA/project
GIT
GIThttps://github.com/OCA/project.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/project/tree/8.0/project_task_materials_stock
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYProject Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLEYes
AUTHORS
AUTHORSOdoo Community Association (OCA), Antiun Ingeniería S.L.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Antiun Ingeniería S.L.
COMMITTERS
COMMITTERSGitHub, Stéphane Bidoul (ACSONE), OCA Transbot, Sergio Teruel, oca-travis, Weblate, OCA-git-bot, sergio-incaser, Carlos Incaser
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:23
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/project:
    - project_task_materials
odoo/odoo:
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - report
    - procurement
    - board
    - web_kanban_gauge
    - web_kanban_sparkline
    - account
    - analytic
    - edi
    - email_template
    - project
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
task_type_consume_material project.task.type.consume.material project.task.type field Inherits project.task_type_edit
view_project_task_form_materials_stock project.task.form.materials project.task field Inherits project_task_materials.view_project_task_form_materials
Models touched (3)

New fields (4)
  • 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'
  • stock_move_ids Many2many → stock.move
    comodel_name='stock.move' compute='_compute_stock_move' string='Stock Moves'
  • stock_state Selection
    compute='_compute_stock_state' string='Stock State' args: [('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 (3)
  • analytic_line_id Many2one → account.analytic.line
    comodel_name='account.analytic.line' string='Analytic Line'
  • product_uom Many2one → product.uom
    comodel_name='product.uom' string='Unit of Measure'
  • stock_move_id Many2one → stock.move
    comodel_name='stock.move' string='Stock Move'
Public methods (3)
  • create_analytic_line(self)
    @api.multi
  • create_stock_move(self)
    @api.multi
  • uos_qty(self)

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' string='Consume Material'
Public methods (0)

No public methods.