4 <record model="ir.ui.view" id="view_gtd_context_tree">
5 <field name="name">project.gtd.context.tree</field>
6 <field name="model">project.gtd.context</field>
7 <field name="type">tree</field>
8 <field name="arch" type="xml">
9 <tree string="Context">
10 <field name="sequence" invisible="1"/>
11 <field name="name" select="1"/>
16 <record model="ir.ui.view" id="view_gtd_context_form">
17 <field name="name">project.gtd.context.form</field>
18 <field name="model">project.gtd.context</field>
19 <field name="type">form</field>
20 <field name="arch" type="xml">
21 <form string="Context">
22 <field name="name" select="1"/>
23 <field name="sequence"/>
28 <record model="ir.actions.act_window" id="open_gtd_context_tree">
29 <field name="name">Contexts</field>
30 <field name="res_model">project.gtd.context</field>
33 <menuitem name="Contexts" id="menu_open_gtd_time_contexts" groups="group_project_getting,base.group_system,project.group_project_finance_user"
34 parent="project.menu_tasks_config" action="open_gtd_context_tree"/>
36 <record model="ir.ui.view" id="view_gtd_timebox_tree">
37 <field name="name">project.gtd.timebox.tree</field>
38 <field name="model">project.gtd.timebox</field>
39 <field name="type">tree</field>
40 <field name="arch" type="xml">
41 <tree string="Timebox">
42 <field name="sequence" invisible="1"/>
49 <record model="ir.ui.view" id="view_gtd_timebox_form">
50 <field name="name">project.gtd.timebox.form</field>
51 <field name="model">project.gtd.timebox</field>
52 <field name="type">form</field>
53 <field name="arch" type="xml">
54 <form string="Timeboxes">
55 <separator string="Timebox Definition" colspan="4"/>
56 <field name="name" select="1"/>
57 <field name="sequence"/>
63 <record model="ir.actions.act_window" id="open_gtd_timebox_tree">
64 <field name="name">Timeboxes</field>
65 <field name="res_model">project.gtd.timebox</field>
66 <field name="view_type">form</field>
67 <field name="view_mode">tree,form</field>
68 <field name="view_id" ref="view_gtd_timebox_tree"/>
71 <menuitem name="Timeboxes" id="menu_open_gtd_time_timeboxes" parent="project.menu_tasks_config" action="open_gtd_timebox_tree"/>
73 <record model="ir.ui.view" id="project_task_tree">
74 <field name="name">project.task.tree.timebox</field>
75 <field name="model">project.task</field>
76 <field name="type">tree</field>
77 <field name="inherit_id" ref="project.view_task_tree2" />
78 <field name="arch" type="xml">
79 <field name="remaining_hours" position="after">
80 <field string="Timebox" name="timebox_id" groups="project_gtd.group_project_getting" invisible=" not context.get('gtd_visible', False)"/>
81 <button name="prev_timebox" type="object" icon="gtk-go-back" string="Previous" states="draft,pending,open" groups="project_gtd.group_project_getting" invisible=" not context.get('gtd_visible',False)"/>
82 <button name="next_timebox" type="object" icon="gtk-go-forward" string="Next" states="draft,pending,open" groups="project_gtd.group_project_getting" invisible=" not context.get('gtd_visible',False)"/>
83 <field name="context_id" groups="project_gtd.group_project_getting" invisible="not context.get('gtd_visible', False)" widget="selection"/>
84 <button name="do_reopen" states="done,cancelled" string="Reactivate" type="object" icon="gtk-convert" help="For reopening the tasks" invisible="not context.get('set_visible',False)"/>
89 <record model="ir.ui.view" id="project_task">
90 <field name="name">project.task.form.timebox</field>
91 <field name="model">project.task</field>
92 <field name="type">form</field>
93 <field name="inherit_id" ref="project.view_task_form2" />
94 <field name="arch" type="xml">
95 <field name="progress" position="after">
96 <field name="context_id" widget="selection" groups="project_gtd.group_project_getting"/>
97 <field name="timebox_id" widget="selection" select="1" groups="project_gtd.group_project_getting"/>