Project Action Item
project_action_item · OCA/project
-
Security25/25No findings
-
Activity0/25Last human commit 141 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
project_action_item— Class 'project_action_item' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. (3 occurrences in this file) migration-old-api-base · sourceproject_action_item— Class 'project_action_item' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (4 occurrences in this file) migration-old-style-fields · sourceproject_action_item_form— 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. (2 occurrences in this file) migration-view-attrs-states · sourceproject_action_item_timesheet— Class 'project_action_item_timesheet' still inherits from the old-style `orm.TransientModel` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceproject_action_item_timesheet— Class 'project_action_item_timesheet' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceproject_action_item_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (2 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (2 occurrences in this file) migration-openerp-import · 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
Project Action Item
This module adds action items on project tasks. When a user has completed the action item of a task, he can click on a button Done with Timesheet that starts a wizard ; this wizard will mark the action item as done and will create a timesheet line.
This module depends on the module hr_timesheet_task which is available on https://github.com/OCA/hr-timesheet/
Please contact Alexis de Lattre from Akretion alexis.delattre@akretion.com for any help or question about this module.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 6
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
hr_timesheet_line_form |
add.action.items.on.timesheet.form | hr.analytic.timesheet | form | Inherits hr_timesheet_task.hr_timesheet_line_form |
project_action_item_form |
project_action_item.form | project.action.item | form | New |
project_action_item_search |
project_action_item.search | project.action.item | search | New |
project_action_item_timesheet_form |
project_action_item_timesheet.form | project.action.item.timesheet | form | New |
project_action_item_tree |
project_action_item.tree | project.action.item | tree | New |
view_task_form2 |
add.action.items.on.tasks.form | project.task | form | Inherits project.view_task_form2 |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (4)-
action_item_done_with_timesheet_wizard(self, cr, uid, ids, context=None) -
back_to_todo(self, cr, uid, ids, context=None) -
set_to_done(self, cr, uid, ids, context=None) -
set_to_progress(self, cr, uid, ids, context=None)
No new fields.
Public methods (2)-
default_get(self, cr, uid, fields_list, context=None) -
update_action_create_timesheet(self, cr, uid, ids, context=None)
No new fields.
Public methods (0)No public methods.