Project Issue related Tasks
project_issue_task · OCA/project
-
Security25/25No findings
-
Activity0/25Last human commit 101 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
project_issue— Class 'project_issue' 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. migration-old-api-base · sourceproject_issue_form_view_task— 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 · sourceproject_task_cause— Class 'project_task_cause' 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. migration-old-api-base · sourceproject_task_cause— Class 'project_task_cause' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (2 occurrences in this file) migration-old-style-fields · sourcetask— Class 'task' 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. migration-old-api-base · sourcetask— Class 'task' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcetask_cause_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourceview_project_task_form_issue— 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- Since 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
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) 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
Support for the use case where solving an Issue means a Task should be done, such as an on site visit, and a report must be made to document the work done. This is a common scenario in technical field services.
The Issue form already has a "Task" field, allowing to create a Task related to an Issue. This module adds some usability improvements:
- "Create Task" button on the Issue form
- Automaticaly Close the Issue when the Task is Closed
- Automatically Cancel the Task when Issue is Cancelled
- Make the Task also visible to all followers of the related Issue
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
project_issue_form_view_task |
project_issue_form_view_task | project.issue | form | Inherits project_issue.project_issue_form_view |
task_cause_edit |
project.task.cause.form | project.task.cause | form | New |
task_cause_tree |
project.task.cause.tree | project.task.cause | tree | New |
view_project_task_form_issue |
project.task.form.issue | project.task | form | Inherits project.view_task_form2 |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
No new fields.
Public methods (2)-
action_create_task(self, cr, uid, ids, context=None)Create and a related Task for the visit report, and open it's Form. -
case_cancel(self, cr, uid, ids, context=None)On Issue Cancel, also Cancel Task
No new fields.
Public methods (1)-
action_close(self, cr, uid, ids, context=None)On Task Close, also close Issue
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…