Project Issue - automatic responsible assignment
project_service_profiling · OCA/project
Health
29/100
poor
-
Security19/252 minor findings
-
Activity0/25Last human commit 127 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 6.1
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.01 MB
Module directory on disk
Code analysis
4 migration notes
0 models
2 views
0 HTTP endpoints
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_issue_profiling— Class 'project_issue_profiling' still inherits from the old-style `osv.osv` 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_issue_profiling— Class 'project_issue_profiling' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (3 occurrences in this file) migration-old-style-fields · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) 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
Automatically assign a responsible when creating a new Issue, or other type of document.
Responsible person is looked up on a "profiling" table based on Sales Team and Department.
"Sales Teams" allow to define different target teams. Originally are ment for Sales people, but here are (re)used also for Service Teams handling Issues, Claims, Tasks, etc.
Initially was ment to on Issues, but currently it's generic enough to work on any object: crm.case, crm.claim, project.task, etc.
This module doesn't even require for Project to be installed. The names used are project related for historic reasons.
Usage:
- Profiling rules are defined either on Department form or on User form.
- User is assigned by a Server Action. Example using Project Issues:
Object: project.issue.profiling
Action Type: Python Code
Python Code: self.set_user_id(cr, uid, [context.get('active_id')], 'project.issue', override_flds=['project_id.user_id'], context=context)
- Server action can be called by an Automated Action or by a Workflow.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_department_form |
view_department_form_dreisprof | hr.department | form | Inherits hr.view_department_form |
view_users_form_reisprof |
res.users.form.reis | res.users | form | Inherits base.view_users_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 0
No models found for this module.