2008-08-24 14:45:43 +00:00
<?xml version="1.0" ?>
2008-09-10 17:56:00 +00:00
<openerp >
2008-10-27 13:13:26 +00:00
<data >
2009-10-29 12:26:37 +00:00
<record model= "ir.ui.view" id= "view_gtd_context_tree" >
<field name= "name" > project.gtd.context.tree</field>
<field name= "model" > project.gtd.context</field>
<field name= "arch" type= "xml" >
<tree string= "Context" >
2010-01-31 21:29:06 +00:00
<field name= "sequence" invisible= "1" />
2012-06-09 15:59:35 +00:00
<field name= "name" />
2009-10-29 12:26:37 +00:00
</tree>
</field>
</record>
2010-07-02 14:37:06 +00:00
2009-10-29 12:26:37 +00:00
<record model= "ir.ui.view" id= "view_gtd_context_form" >
<field name= "name" > project.gtd.context.form</field>
<field name= "model" > project.gtd.context</field>
<field name= "arch" type= "xml" >
2012-06-09 15:59:35 +00:00
<form string= "Context" version= "7.0" >
<group col= "4" >
<field name= "name" />
<field name= "sequence" />
</group>
2009-10-29 12:26:37 +00:00
</form>
</field>
</record>
2010-07-02 14:37:06 +00:00
2009-10-29 12:26:37 +00:00
<record model= "ir.actions.act_window" id= "open_gtd_context_tree" >
<field name= "name" > Contexts</field>
<field name= "res_model" > project.gtd.context</field>
2010-12-14 06:22:11 +00:00
<field name= "help" > Contexts are defined in the "Getting Things Done" methodology. It allows you to categorize your tasks according to the context in which they have to be done: at the office, at home, when I take my car, etc.</field>
2009-10-29 12:26:37 +00:00
</record>
2008-10-27 13:13:26 +00:00
2011-11-07 22:13:37 +00:00
<menuitem name= "Contexts" id= "menu_open_gtd_time_contexts"
2012-03-16 10:15:31 +00:00
parent="project.menu_tasks_config" action="open_gtd_context_tree" groups="base.group_no_one"/>
2008-10-27 13:13:26 +00:00
2009-10-29 12:26:37 +00:00
<record model= "ir.ui.view" id= "view_gtd_timebox_tree" >
<field name= "name" > project.gtd.timebox.tree</field>
<field name= "model" > project.gtd.timebox</field>
<field name= "arch" type= "xml" >
<tree string= "Timebox" >
2010-01-31 21:29:06 +00:00
<field name= "sequence" invisible= "1" />
2009-11-19 00:18:15 +00:00
<field name= "name" />
2009-10-29 12:26:37 +00:00
<field name= "icon" />
</tree>
</field>
</record>
2008-10-27 13:13:26 +00:00
2009-10-29 12:26:37 +00:00
<record model= "ir.ui.view" id= "view_gtd_timebox_form" >
<field name= "name" > project.gtd.timebox.form</field>
<field name= "model" > project.gtd.timebox</field>
<field name= "arch" type= "xml" >
2012-06-09 15:59:35 +00:00
<form string= "Timeboxes" version= "7.0" >
<group col= "4" string= "Timebox Definition" >
<field name= "name" />
<field name= "sequence" />
<field name= "icon" />
</group>
2009-10-29 12:26:37 +00:00
</form>
</field>
</record>
2008-10-27 13:13:26 +00:00
2009-10-29 12:26:37 +00:00
<record model= "ir.actions.act_window" id= "open_gtd_timebox_tree" >
<field name= "name" > Timeboxes</field>
<field name= "res_model" > project.gtd.timebox</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form</field>
<field name= "view_id" ref= "view_gtd_timebox_tree" />
2010-12-14 06:22:11 +00:00
<field name= "help" > Timeboxes are defined in the "Getting Things Done" methodology. A timebox defines a period of time in order to categorize your tasks: today, this week, this month, long term.</field>
2009-11-19 00:18:15 +00:00
</record>
2008-10-27 13:13:26 +00:00
2012-03-16 10:15:31 +00:00
<menuitem name= "Timeboxes" id= "menu_open_gtd_time_timeboxes" parent= "project.menu_tasks_config" action= "open_gtd_timebox_tree" groups= "base.group_no_one" />
2010-07-02 14:37:06 +00:00
2009-11-19 00:18:15 +00:00
<record model= "ir.ui.view" id= "project_task_tree" >
2009-10-23 12:45:01 +00:00
<field name= "name" > project.task.tree.timebox</field>
<field name= "model" > project.task</field>
<field name= "inherit_id" ref= "project.view_task_tree2" />
<field name= "arch" type= "xml" >
2010-01-31 21:29:06 +00:00
<field name= "remaining_hours" position= "after" >
2011-11-07 22:13:37 +00:00
<field string= "Timebox" name= "timebox_id" invisible= " not context.get('gtd', False)" />
<button name= "prev_timebox" type= "object" icon= "gtk-go-back" string= "Previous" states= "draft,pending,open" invisible= " not context.get('gtd',False)" />
<button name= "next_timebox" type= "object" icon= "gtk-go-forward" string= "Next" states= "draft,pending,open" invisible= " not context.get('gtd',False)" />
2012-04-25 14:02:12 +00:00
<field name= "context_id" invisible= "not context.get('context_show', False)" widget= "selection" />
2010-02-05 06:41:28 +00:00
<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)" />
2009-11-19 00:18:15 +00:00
</field>
2009-10-23 12:45:01 +00:00
</field>
</record>
2008-10-27 13:13:26 +00:00
<record model= "ir.ui.view" id= "project_task" >
<field name= "name" > project.task.form.timebox</field>
<field name= "model" > project.task</field>
<field name= "inherit_id" ref= "project.view_task_form2" />
<field name= "arch" type= "xml" >
2009-09-24 10:46:21 +00:00
<field name= "progress" position= "after" >
2012-08-06 11:03:07 +00:00
<field name= "context_id" widget= "selection" options= '{"no_open": true}' />
<field name= "timebox_id" widget= "selection" options= '{"no_open": true}' />
2009-09-24 10:46:21 +00:00
</field>
2008-10-27 13:13:26 +00:00
</field>
</record>
2010-08-13 12:20:05 +00:00
2011-11-14 10:47:34 +00:00
<record id= "view_task_gtd_search" model= "ir.ui.view" >
<field name= "name" > project.task.gtd.search</field>
<field name= "model" > project.task</field>
<field name= "priority" > 50</field>
<field name= "arch" type= "xml" >
<search string= "My Tasks" >
2012-06-22 11:12:51 +00:00
<field name= "name" string= "My Tasks" />
2011-11-14 10:47:34 +00:00
<filter name= "open" string= "In Progress" domain= "[('state','in',('draft','open'))]" help= "In Progress and draft tasks" icon= "terp-camera_test" />
<filter string= "Pending" domain= "[('state','=','pending')]" context= "{'show_delegated':False}" help= "Pending Tasks" icon= "terp-gtk-media-pause" />
2012-07-23 06:38:09 +00:00
<separator />
2012-06-18 13:24:37 +00:00
<filter string= "Inbox" domain= "[('timebox_id','=', False)]" help= "Tasks having no timebox assigned yet" />
<group expand= "0" string= "Display" >
<filter string= "Show Context" name= "context_show" context= "{'context_show': True}" domain= "[]" icon= "terp-camera_test" help= "Show the context field" />
<filter string= "Show Deadlines" context= "{'deadline_visible': False}" domain= "[]" help= "Show only tasks having a deadline" icon= "terp-gnome-cpu-frequency-applet+" />
</group>
2011-11-14 10:47:34 +00:00
</search>
</field>
</record>
2011-11-07 22:13:37 +00:00
<record model= "ir.actions.act_window" id= "open_gtd_task" >
2011-11-14 10:47:34 +00:00
<field name= "name" > My Tasks</field>
2011-11-07 22:13:37 +00:00
<field name= "res_model" > project.task</field>
2011-11-14 10:47:34 +00:00
<field name= "search_view_id" ref= "view_task_gtd_search" />
<field name= "context" > {'set_editable':True,'set_visible':True,'gtd':True,'user_invisible':True, "search_default_open": 1}</field>
<field name= "domain" > [('user_id','=',uid)]</field>
2011-11-07 22:13:37 +00:00
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form,calendar,gantt,graph,kanban</field>
</record>
2012-03-01 05:40:44 +00:00
<menuitem action= "open_gtd_task" id= "menu_open_gtd_timebox_tree" parent= "project.menu_project_management" sequence= "10" />
2011-11-07 22:13:37 +00:00
2008-10-27 13:13:26 +00:00
</data>
2008-09-10 17:56:00 +00:00
</openerp>