上QQ阅读APP看书,第一时间看更新
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.