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 022496c9
authored
2024-07-12 11:15:39 -0300
by
Juan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
inicio
1 parent
792d1354
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
111 additions
and
2 deletions
__manifest__.py
models/__init__.py
models/conciliaciones.py
security/permisos.xml
views/menu_concilacion.xml
__manifest__.py
View file @
022496c
...
@@ -51,6 +51,7 @@
...
@@ -51,6 +51,7 @@
'wizard/vista_cobro_discriminado.xml'
,
'wizard/vista_cobro_discriminado.xml'
,
'wizard/vista_pago_discriminado.xml'
,
'wizard/vista_pago_discriminado.xml'
,
'views/menu_compras.xml'
,
'views/menu_compras.xml'
,
#'views/menu_concilacion.xml',
],
],
# only loaded in demonstration mode
# only loaded in demonstration mode
'demo'
:
[
'demo'
:
[
...
...
models/__init__.py
View file @
022496c
...
@@ -9,4 +9,5 @@ from . import pago_discriminado
...
@@ -9,4 +9,5 @@ from . import pago_discriminado
from
.
import
cheque
from
.
import
cheque
from
.
import
valor
from
.
import
valor
from
.
import
cta_cte
from
.
import
cta_cte
from
.
import
ralaciones_talonarios
\ No newline at end of file
\ No newline at end of file
from
.
import
ralaciones_talonarios
from
.
import
conciliaciones
\ No newline at end of file
\ No newline at end of file
models/conciliaciones.py
0 → 100644
View file @
022496c
# -*- coding: utf-8 -*-
###############################################################################
# License, author and contributors information in: #
# __manifest__.py file at the root folder of this module. #
###############################################################################
from
odoo
import
models
,
fields
,
api
,
_
from
odoo.exceptions
import
UserError
,
ValidationError
,
Warning
import
datetime
class
tpv_conciliacion
(
models
.
Model
):
_name
=
'tpv_c.conciliacion'
_description
=
'Conciliacion de Cuenta Corriente CUIT'
name
=
fields
.
Char
(
string
=
'Titulo'
)
notas
=
fields
.
Text
(
string
=
'Notas'
)
fecha
=
fields
.
Date
(
string
=
'Fecha'
)
estado
=
fields
.
Selection
(
string
=
'Estado'
,
selection
=
[
(
'b'
,
'Borrador'
),
(
'p'
,
'Conciliado'
),
],
required
=
True
,
default
=
"b"
)
cuit
=
fields
.
Many2one
(
comodel_name
=
'asw.cliente'
,
string
=
'Cuit'
)
facturas
=
fields
.
Many2many
(
comodel_name
=
'asw.comprobante'
,
string
=
'Duedas de cliete y resivos propios'
,
relation
=
'tpv_correcciones_conciliaciones_facturas'
,
column1
=
'conciliacion_id'
,
column2
=
'factura_id'
)
resivos
=
fields
.
Many2many
(
comodel_name
=
'asw.comprobante'
,
string
=
'Resivos de cliente y facturas de proveedor'
,
relation
=
'tpv_correcciones_conciliaciones_resivos'
,
column1
=
'conciliacion_id'
,
column2
=
'resivos_id'
)
def
BuscarComprobantes
(
self
):
pass
def
Conciliar
(
self
):
pass
\ No newline at end of file
\ No newline at end of file
security/permisos.xml
View file @
022496c
<odoo>
<odoo>
<data>
<data>
<!-- ####################### CORRECION AFIP #####################################-->
<record
model=
"ir.module.category"
id=
"module_category_tpv_corrector_tal"
>
<record
model=
"ir.module.category"
id=
"module_category_tpv_corrector_tal"
>
<field
name=
"name"
>
Ajuste Talonario AFIP
</field>
<field
name=
"name"
>
Ajuste Talonario AFIP
</field>
<field
name=
"description"
>
Ajuste Talonario
</field>
<field
name=
"description"
>
Ajuste Talonario
</field>
...
@@ -14,6 +15,20 @@
...
@@ -14,6 +15,20 @@
<field
name=
"name"
>
Puede correjir facturas sin cae
</field>
<field
name=
"name"
>
Puede correjir facturas sin cae
</field>
<field
name=
"category_id"
eval=
"ref('module_category_tpv_corrector_tal')"
/>
<field
name=
"category_id"
eval=
"ref('module_category_tpv_corrector_tal')"
/>
</record>
</record>
<!-- #########################CONCILIADOR GENERAL###############################-->
<record
model=
"ir.module.category"
id=
"module_category_tpv_conciliador_corr"
>
<field
name=
"name"
>
Gestion Concilacion (CUIT)
</field>
<field
name=
"description"
>
Gestion Concilacion (CUIT)
</field>
</record>
<record
model=
"res.groups"
id=
"module_category_tpv_conciliador_accion"
>
<field
name=
"name"
>
Puede hacer conciliaciones
</field>
<field
name=
"category_id"
eval=
"ref('module_category_tpv_conciliador_corr')"
/>
</record>
<record
model=
"res.groups"
id=
"module_category_tpv_conciliador_accion"
>
<field
name=
"name"
>
Puede ver registro de conciliacion
</field>
<field
name=
"category_id"
eval=
"ref('module_category_tpv_conciliador_corr')"
/>
</record>
</data>
</data>
</odoo>
</odoo>
\ No newline at end of file
\ No newline at end of file
views/menu_concilacion.xml
0 → 100644
View file @
022496c
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<data
noupdate=
"0"
>
<!-- Menues Grupo en TPV-->
<menuitem
name=
"Conciliar"
sequence=
"20"
id=
"tpv_correcciones_consiliador"
parent=
"asw_tpv.asw_tpv_ventas"
/>
<!-- Accion -->
<menuitem
name=
"Conciliar"
sequence=
"10"
id=
"tpv_correcciones_consiliador"
parent=
"asw_tpv.asw_tpv_ventas"
action=
"asw_tpv.asw_cliente_list_action"
/>
<!-- Registro-->
<menuitem
name=
"Registro conciliacion manual"
sequence=
"20"
id=
"tpv_correcciones_consiliador"
parent=
"asw_tpv.asw_tpv_ventas"
action=
"asw_tpv.asw_cliente_list_action"
/>
</data>
</odoo>
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