Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Maria Agustina
/
tpv_correcciones
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 7d2ac417
authored
2021-04-30 10:26:05 -0300
by
Juan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
correcion raise
1 parent
749b5688
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
models/comprobante.py
models/comprobante.py
View file @
7d2ac41
...
...
@@ -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
)
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment