Project Task Material Stock
project_task_material_stock · OCA/project
Health
48/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 45 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 10.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.42 MB
Module directory on disk
Code analysis
4 migration notes
6 models
3 views
0 HTTP endpoints
Migration considerations
AccountAnalyticLine— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceStockMove— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceTask— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (8 methods) (2 occurrences in this file) migration-api-multi-one · sourceview_project_task_form_material_stock— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_idOne2many → project.task.materialstring='Project Task Material' args: 'project.task.material', 'analytic_line_id'
No public methods.
New fields (2)
-
location_dest_idMany2one → stock.locationcomodel_name='stock.location'help='Default location to which materials are consumed.'index=Truestring='Destination Location' -
location_source_idMany2one → stock.locationcomodel_name='stock.location'help='Default location from which materials are consumed.'index=Truestring='Source Location'
No public methods.
New fields (9)
-
analytic_account_idMany2one → account.analytic.accountcomodel_name='account.analytic.account'help='Move created will be assigned to this analytic account'string='Move Analytic Account' -
analytic_line_idsMany2many → account.analytic.linecomodel_name='account.analytic.line'compute='_compute_analytic_line'string='Analytic Lines' -
consume_materialBooleanrelated='stage_id.consume_material' -
location_dest_idMany2one → stock.locationcomodel_name='stock.location'help='Keep this field empty to use the default value from the project.'index=Truestring='Destination Location' -
location_source_idMany2one → stock.locationcomodel_name='stock.location'help='Keep this field empty to use the default value from the project.'index=Truestring='Source Location' -
picking_idMany2one → stock.pickingrelated='stock_move_ids.picking_id' args: 'stock.picking' -
picking_type_idMany2one → stock.picking.typecomodel_name='stock.picking.type'domain=[('code', 'in', ('outgoing', 'internal'))]index=Truestring='Operation Type' -
stock_move_idsMany2many → stock.movecomodel_name='stock.move'compute='_compute_stock_move'string='Stock Moves' -
stock_stateSelectioncompute='_compute_stock_state'selection=[('pending', 'Pending'), ('confirmed', 'Confirmed'), ('assigned', 'Assigned'), ('done', 'Done')]
-
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_idMany2one → account.analytic.linecomodel_name='account.analytic.line'string='Analytic Line' -
product_idMany2onedomain="[('type', 'in', ('consu', 'product'))]" -
product_uom_idMany2one → uom.uomcomodel_name='uom.uom'oldname='product_uom'string='Unit of Measure' -
stock_move_idMany2one → stock.movecomodel_name='stock.move'string='Stock Move'
-
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_materialBooleanhelp='If you mark this check, when a task goes to this state, it will consume the associated materials'
No public methods.
New fields (1)
-
task_material_idOne2many → project.task.materialstring='Project Task Material' args: 'project.task.material', 'stock_move_id'
No public methods.
Loading…
Loading…