To customize an Odoo screen, let’s say we want to extend to Project Task window to capture new information about the task.

Objective

Project Task window should allow Product, Board Type, and other attributes be entered.

Selection_014

Customization

1. User setup – enable Technical Features

Selection_008

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Settings > Users > Usability > Technical Features

2. Add new fields to the Model project.task

Selection_009

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Settings > Technical > Database Structure > Models

3. Fields – add an Item

Selection_010

 

 

 

 

 

 

 

 

 

 

 

 

 

Here a field name x_borardtype (Board Type) was added as a drop down selection with pre-determined values.

4. Window customization

Selection_012

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Settings > Technical > User Interface > Views

Selection_013

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Here, we have modified the view project.task.form to show the newly added fields.  Note that Cutomised Views is probably better approach as changes made to Standard Views might get overwritten during upgrade.

 

Customizing Odoo – Part 1