From c63c8e3dfe7e13aff83c05332d082438c5ead49b Mon Sep 17 00:00:00 2001 From: "RME(OpenERP)" <> Date: Tue, 3 Aug 2010 20:08:23 +0530 Subject: [PATCH] [FIX] Project : Corrected former commit bzr revid: jvo@tinyerp.com-20100803143823-060pxehoogj54srh --- addons/project/company.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/project/company.py b/addons/project/company.py index ea9458bb468..18f970118a4 100644 --- a/addons/project/company.py +++ b/addons/project/company.py @@ -35,7 +35,7 @@ class res_company(osv.osv): def write(self, cr, uid, ids,vals, context={}): task_ids=self.pool.get('project.task').search(cr, uid, [('state','in',['open', 'pending'])]) if ('project_time_mode_id' in vals) and task_ids: - raise osv.except_osv(_('Error !'), _('You can not modify Project Time Unit as there are open or pending tasks created with current time unit.)) + raise osv.except_osv(_('Error !'), _('You cannot modify Project Time Unit as there are open or pending tasks created with current time unit.')) return super(res_company,self).write(cr, uid, ids, vals, context=context) res_company()