[FIX] Project_gtd : improved menuitems names to avoid user confusion,domain improved
authorJay (Open ERP) <jvo@tinyerp.com>
Mon, 7 Sep 2009 06:54:08 +0000 (12:24 +0530)
committerJay (Open ERP) <jvo@tinyerp.com>
Mon, 7 Sep 2009 06:54:08 +0000 (12:24 +0530)
lp bug: https://launchpad.net/bugs/425257 fixed

bzr revid: jvo@tinyerp.com-20090907065408-m33zrlfwgybknytl

addons/project_gtd/project_gtd_view.xml
addons/project_gtd/wizard/project_gtd_daily.py

index 810868f..13a3f10 100644 (file)
             </field>
         </record>
         <record model="ir.actions.act_window" id="open_gtd_task_inbox">
-            <field name="name">Inbox Tasks</field>
+            <field name="name">My Inbox</field>
             <field name="res_model">project.task</field>
-            <field name="domain">[('user_id','=',uid),('timebox_id','=',False),('state','in',('open','draft'))]</field>
+            <field name="domain">[('user_id','=',uid),('state','in',('open','draft'))]</field>
             <field name="context">{'gtd_sort':True}</field>
             <field name="view_id" ref="task_inbox_view"/>
         </record>
         </record>
         
         <menuitem
-            name="All My Timeboxes" 
+            name="My Timeboxes" 
             id="menu_open_time_allinbox" 
             parent="menu_open_time" 
             action="open_gtd_timebox_all"/>
index 81f6731..3ead091 100644 (file)
@@ -42,7 +42,7 @@ class wiz_timebox_open(wizard.interface):
             domain = "[('user_id', '=', uid)]"
         value = {
             'domain': domain,
-            'name': 'Timebox',
+            'name': 'My Daily Timebox',
             'view_type': 'form',
             'view_mode': view_type,
             'res_model': 'project.gtd.timebox',