todo_view.xml:
<?xml version="1.0"?>
<odoo>
<record model="ir.actions.act_window" id="action_todo_task">
<field name="name">To-Do Task</field>
<field name="res_model">todo.task</field>
<field name="view_mode">tree, form</field>
</record>
<menuitem id="main_menu_todo_task" name="To-Do App" />
<menuitem id="menu_todo_task" name="To-Do Task" parent="main_menu_todo_task"/>
<menuitem id="todo_task_menu" name="Tasks" parent="menu_todo_task" action="action_todo_task"/>
</odoo>
todo_model.py:
# -*- coding: utf-8 -*-
from openerp import models, fields
class ToDoTask(models.Model):
_name = "todo.task"
name = fields.Char('Descrition', required = True)
is_done = fields.Boolean('Done?')
active = fields.Boolean('Active?', default = True)
When I go to view, there is only 'Description' and one checkbox without title.