The complete form view

At this point, our todo.task form view should look like this:

<form> 
  <header> 
    <button name="do_clear_done" type="object" 
      string="Clear Done" /> 
  </header> 
  <sheet> 
    <group name="group_top"> 
      <group name="group_left"> 
        <field name="name" />        <field name="user_id" />        <field name="is_done" />      </group> 
      <group name="group_right"> 
        <field name="date_deadline" />         <field name="team_ids" widget="many2many_tags" />        <field name="active" readonly="1" />       </group> 
    </group> 
  </sheet> 
</form> 

The action buttons won't work yet since we still need to add their business logic.

Get Odoo 11 Development Essentials - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.