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 f765d5de
authored
2022-01-25 10:22:11 -0300
by
Juan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
correcion efectivo
1 parent
e1da5f8b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
wizard/cobro_discriminado.py
wizard/cobro_discriminado.py
View file @
f765d5d
...
@@ -287,7 +287,7 @@ class hgt_cobro_multiple(models.TransientModel):
...
@@ -287,7 +287,7 @@ class hgt_cobro_multiple(models.TransientModel):
def
agregar_efectivo
(
self
):
def
agregar_efectivo
(
self
):
if
self
.
pcw_efectivo
!=
0
:
if
self
.
pcw_efectivo
!=
0
:
efectivo
=
self
.
env
[
'asw.tipos_valores'
]
.
search
([(
'tv_tipo'
,
'='
,
'ef'
)])
efectivo
=
self
.
env
[
'asw.tipos_valores'
]
.
search
([(
'tv_tipo'
,
'='
,
'ef'
)])
self
.
pcw_recibo
.
agregar_valor
(
self
.
pcw_efectivo
,
efectivo
,
self
.
env
.
caja_efectivo
.
id
)
self
.
pcw_recibo
.
agregar_valor
(
self
.
pcw_efectivo
,
efectivo
,
self
.
caja_efectivo
.
id
)
def
agregar_retencion
(
self
):
def
agregar_retencion
(
self
):
if
(
len
(
self
.
pcw_retenciones
)
==
0
):
if
(
len
(
self
.
pcw_retenciones
)
==
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