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 51fd5c17
authored
2022-01-20 10:47:55 -0300
by
Juan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Correccion retenciones
1 parent
a45a561d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
wizard/cobro_discriminado.py
wizard/cobro_discriminado.py
View file @
51fd5c1
...
@@ -290,12 +290,10 @@ class hgt_cobro_multiple(models.TransientModel):
...
@@ -290,12 +290,10 @@ class hgt_cobro_multiple(models.TransientModel):
self
.
pcw_recibo
.
agregar_valor
(
self
.
pcw_efectivo
,
efectivo
,
self
.
env
.
user
.
turno
.
caja
.
id
)
self
.
pcw_recibo
.
agregar_valor
(
self
.
pcw_efectivo
,
efectivo
,
self
.
env
.
user
.
turno
.
caja
.
id
)
def
agregar_retencion
(
self
):
def
agregar_retencion
(
self
):
if
(
len
(
self
.
pcw_retenciones
)
!=
0
):
if
(
len
(
self
.
pcw_retenciones
)
==
0
):
retencion
=
self
.
env
[
'asw.tipos_valores'
]
.
search
([(
'tv_tipo'
,
'='
,
'rr'
)])
else
:
return
(
None
)
#Si no hay alguna retencion
return
(
None
)
#Si no hay alguna retencion
for
linea
in
self
.
pcw_retenciones
:
for
linea
in
self
.
pcw_retenciones
:
self
.
pcw_recibo
.
agregar_valor
(
linea
.
val_monto
,
retencion
,
self
.
env
.
user
.
turno
.
caja
.
id
)
self
.
pcw_recibo
.
agregar_valor
(
linea
.
val_monto
,
linea
.
val_tipo
,
False
)
def
agregar_cheques_recibidos
(
self
):
def
agregar_cheques_recibidos
(
self
):
if
(
len
(
self
.
pcw_chq_resiv2
)
>
0
):
if
(
len
(
self
.
pcw_chq_resiv2
)
>
0
):
...
...
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