Commit 6ec72b3d by Juan

saco identidad

1 parent afeba991
...@@ -69,7 +69,7 @@ class restablecedor(http.Controller): ...@@ -69,7 +69,7 @@ class restablecedor(http.Controller):
"mensaje_descripcion":mensaje, "mensaje_descripcion":mensaje,
"mensaje_numero_whatsapp":telefono, "mensaje_numero_whatsapp":telefono,
"mensaje_direccion_mail":email, "mensaje_direccion_mail":email,
"identidad":1} "identidad":False}
mensaje = http.request.env['asw.mensaje'].sudo().create(vals) mensaje = http.request.env['asw.mensaje'].sudo().create(vals)
mensaje.tipo = tipo mensaje.tipo = tipo
mensaje.enviar() mensaje.enviar()
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!