Commit 8f5a993d by Arturo Jasso Origel

se retiro error

parent 0eb43e20
......@@ -429,11 +429,11 @@ class HelpdeskTicket(models.Model):
raise ValidationError (_("Favor de agregar al menos "+str(min_description)+" caracteres a la descripción"))
if vals["stage_id"] == self.env.ref('sh_all_in_one_helpdesk.done_stage').id:
self.action_done()
#if vals["stage_id"] == self.env.ref('sh_all_in_one_helpdesk.done_stage').id:
# self.action_done()
if vals["stage_id"] == self.env.ref('sh_all_in_one_helpdesk.close_stage').id:
self.action_closed()
#if vals["stage_id"] == self.env.ref('sh_all_in_one_helpdesk.close_stage').id:
# self.action_closed()
return super(HelpdeskTicket, self).write(vals)
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment