How to Configure Request for Incident

Depending on the installed Generic Request modules, the appearance, menu structure and functionality of the application may vary. 

Here are the list of installed Generic Request modules that were used when writing this manual: 

  • Generic Request (Dashboard) - this module visually and functionally optimize pages of the request categories and request types
  • Generic Request (Actions) - allows you to assign actions that will be performed when the request moves along the route
  • Generic Request (Auto route) - allows the request to automatically move along the route under certain conditions (by the trigger)
  • Generic Condition - the module allows you to create generic conditions on which you can program some logic in Odoo objects
  • Generic Request (Conditions) - allows you to use conditions while working with requests

Incidents occur constantly in everyday work. To simplify the incident submitting and handling mechanism, let's configure request for incident.

Open the Generic Request application. To do this, click Requests on the left menu.

Configure Request Type

Under the Configuration menu, click Types. The page of request types opens.

To create a new type, click Create. A form opens.

Do the following steps:

1. Enter the name and the code (technical name) of the request type in the fields.
2You can select sequence in the appropriate field on the Description tab. From the drop-down menu, you can choose sequence by default or create a new one. Click Create and Edit. A form opens. Here, specify the sequence name, select implementation. Select the sequence size and step, by which the next number of the sequence will be increased. Enter prefix (displays before sequence number) and suffix (displays after). Click Save. You can use the following example:

Now set up stages for requests of this type

  1. Click Stages on the right at the top.
  2. The stages page appears. This will save your type of request. Click Create to create a new stage.
  3. On the form, specify the name and the code of the stage in the fields that are highlighted in purple. Click Save. A completed form looks similar to this:
  4. The same way create all the necessary stages. A configured page of the stages looks like this:
  5. Please note that on the stages when the request is closed (in our case:  Closed (Ok) and Cancel), you need to select the Closed check box on the form. 
  6. Return to the request type form. You can do this by clicking Request for Incident from the top, on the navigation bar. Or you can select it from the request types list.
  7. Next to the Start Stage field, on the Settings tab, the stage that is in the first place on the list on the stages page automatically sets as starting stage.

Configure Request Routes

After creating stages you need to plan and configure routes for different cases of request handling.

In our case:

  • created request falls into the Draft;
  • from this stage it can be moved to the New stage;
  • at this stage, the request will be reviewed and can be rejected (Cancel) or moved to the In Progress stage;
  • next, the request may be rejected (Cancel) or Done;
  • after execution, the request may be closed (Closed (Ok)) or reopened with a new data (Reopened);
  • from the Reopened stage, the request again moves to the In Progress stage;
  • At the Cancel and Closed (Ok) stages, the request will be closed. 

You can view the route diagram below:

To configure request routes, do the following:

  1. Click Routes on the request type form.
  2. The routes page opens. Click Create to create a new route.
  3. On the opened form, enter the route name in the upper field.
  4. Next to the From field, select the initial stage from the menu.
  5. Next to the To field, select the stage that will be the next for this route.
  6. If necessary, you can select users or groups that will be able to move the request on this route.
  7. Click Save.

Now the route from Draft to New is created. Return to the routes page by clicking Routes on the navigation bar.

The same way, you need to create routes to link all stages of this request type according to the diagram above.

The configured routes page looks similar to this:

You can view routes diagram by clicking the appropriate button on the request type form.

Now the type of request for incident is configured and users can submit requests. You can go back and edit the necessary data at any time.

Configure Request Category

With a large number of different incidents, it is useful to divide requests by category of incidents. Let's create and configure categories for incident requests.

  1. Under the Configuration menu, click Categories.
  2. On the categories page, click Create to create a new category.
  3. Let's create a parent category for all incidents. On the form, enter the name (for example Incident) and code of the category. Click Save on the left above the form.
  4. Now we can create several subcategories for incidents. Click Create to create a category.
  5. On the form, select the newly created parent category. Enter the name (for example Login) and code.
  6. Next to the Request types field, select request types from the menu that will belong to this category. Select the ones created Request for Incident.
  7. The same way, you can create additional categories for incidents - Incident/Error and Incident/Other. Now the category page will look similar to this: 

After we add request type to the category, this category will automatically be added to the request type. This can be seen in the request type form.

Users will now be able to select categories of incidents when creating requests for incident.

Configure Automated Actions

After setting up stages and routes of request, you can simplify the working operations for the request operators by making certain actions automated.

Let's do the action that automatically assign responsible person on the route from Draft to New.

To be able to do that, you need to install additional Generic Request module:

  • Generic Request (Actions) - this module allows to assign actions that will be performed while request moves along the route

Now let's configure automated actions:

  • After installing the module, go to the routes page of the Request for Incident type and select from the list the route from Draft to New.
  • On the route form, click Actions on the right at the top.
  • The actions page opens. Here, click Create to create a new action. A form opens.
  • Specify the action name in the upper field.
  • Select the type of action. Depending on the selected type, different options will appear to continue configuring the action. Let's select the Assign action type.