Commit 7d2ac417 by Juan

correcion raise

1 parent 749b5688
......@@ -113,9 +113,10 @@ class asw_comprobante(models.Model):
val = {}
val["tipo"] = 'impresora'
val["bs64"] = base64.encodestring(pdf[0])
self.env["hw.puesto_trabajo"].UsarDispositivo(val)
impresora = self.env["hw.puesto_trabajo"]
#print(base64.encodestring(pdf[0]))
except:
raise Warning("No tiene instalado este modulo en su sistema contactese con HGT")
impresora.UsarDispositivo(val)
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!