From 9cfffc9d73158f49845d1ae4d22dd15cf60b75be Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Wed, 3 Mar 2010 11:42:28 +0100 Subject: [PATCH] [IMP] cleaned project search view bzr revid: fp@tinyerp.com-20100303104228-nkxjp5uvrfshpeqi --- addons/project/project.py | 3 --- addons/project/project_view.xml | 3 +-- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/addons/project/project.py b/addons/project/project.py index 2267c5c9aaf..7a412bfecfe 100644 --- a/addons/project/project.py +++ b/addons/project/project.py @@ -134,9 +134,6 @@ class project(osv.osv): 'warn_customer': fields.boolean('Warn Partner', help="If you check this, the user will have a popup when closing a task that propose a message to send by email to the customer."), 'warn_header': fields.text('Mail Header', help="Header added at the beginning of the email for the warning message sent to the customer when a task is closed."), 'warn_footer': fields.text('Mail Footer', help="Footer added at the beginning of the email for the warning message sent to the customer when a task is closed."), - # 'state': fields.selection([('template', 'Template'), ('open', 'Running'), ('pending', 'Pending'), ('cancelled', 'Cancelled'), ('done', 'Done')], 'State', required=True, readonly=True, -# help='The project can be in either if the states \'Template\' and \'Running\'.\n If it is template then we can make projects based on the template projects. If its in \'Running\' state it is a normal project.\ -# \n If it is to be reviewed then the state is \'Pending\'.\n When the project is completed the state is set to \'Done\'.'), 'type_ids': fields.many2many('project.task.type', 'project_task_type_rel', 'project_id', 'type_id', 'Tasks Stages'), } _order = "sequence" diff --git a/addons/project/project_view.xml b/addons/project/project_view.xml index 50472b090cc..ef80a9e0f1c 100644 --- a/addons/project/project_view.xml +++ b/addons/project/project_view.xml @@ -402,8 +402,7 @@ - - +