[Project] Remove space from error meassge
bzr revid: amb@tinyerp.com-20130603102434-ak50ximjqehn350h
This commit is contained in:
parent
7118fe15b9
commit
1f451c737f
|
@ -956,7 +956,7 @@ class task(base_stage, osv.osv):
|
||||||
if task.child_ids:
|
if task.child_ids:
|
||||||
for child in task.child_ids:
|
for child in task.child_ids:
|
||||||
if child.state in ['draft', 'open', 'pending']:
|
if child.state in ['draft', 'open', 'pending']:
|
||||||
raise osv.except_osv(_("Error !"), _("You can not done a parent task.\nPlease cancel or complete child task first."))
|
raise osv.except_osv(_("Error!"), _("You can not done a parent task.\nPlease cancel or complete child task first."))
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def action_close(self, cr, uid, ids, context=None):
|
def action_close(self, cr, uid, ids, context=None):
|
||||||
|
|
Loading…
Reference in New Issue