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 2330126e
authored
2021-12-01 13:43:42 -0300
by
Juan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
mejora generador nota debito
1 parent
18d07251
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
wizard/generar_nota.py
wizard/generar_nota.py
View file @
2330126
...
...
@@ -74,7 +74,7 @@ class tpv_generar_nota(models.TransientModel):
comprobante
=
self
.
gn_comprobante
referencia
=
'Nota de débito del comprobante : '
+
comprobante
.
comp_talonario
.
tal_codigo
+
"/"
+
comprobante
.
comp_nro_letras
talonario
=
self
.
env
[
'asw.talonario'
]
.
search
([(
'tal_pto_vta'
,
'='
,
comprobante
.
comp_talonario
.
tal_pto_vta
),(
'tal_letra'
,
'='
,
comprobante
.
comp_talonario
.
tal_letra
),(
'tal_codigo'
,
'in'
,[
'NDAN'
,
'NDBN'
])])
talonario
=
self
.
env
[
'asw.talonario'
]
.
search
([(
'tal_pto_vta'
,
'='
,
comprobante
.
comp_talonario
.
tal_pto_vta
),(
'tal_letra'
,
'='
,
comprobante
.
comp_talonario
.
tal_letra
),(
'tal_codigo'
,
'in'
,[
'NDAN'
,
'NDBN'
,
'NDAE'
,
'NDBE'
])])
if
talonario
:
contra_comprobante
=
self
.
generar_comprobante
(
...
...
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