Project Issue - automatic responsible assignment
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.