Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Maria Agustina
/
hgt_cobranza_mobil
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit e598443d
authored
2021-01-21 17:24:02 -0300
by
Maria Agustina
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
falta un poquito
1 parent
fd348cb6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
wizards/pago_administracion.py
wizards/pago_administracion.py
View file @
e598443
...
...
@@ -45,6 +45,7 @@ class hgt_pago_administracion(models.TransientModel):
raise
ValidationError
(
'El total ingresado en las líneas de valores es mayor que el monto disponible en caja'
)
def
pagar_admin
(
self
):
#no esta funcionando, ver si hago transferencia en vez de creacion de valores
for
line
in
self
.
linea_valores
:
self
.
env
[
'asw.valores'
]
.
crear_valor_salida
(
line
.
monto
,
line
.
val_tipo
,
self
.
caja_origen
.
id
)
self
.
env
[
'asw.valores'
]
.
crear_valor_entrada
(
line
.
monto
,
line
.
val_tipo
,
self
.
caja_destino
.
id
)
...
...
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