Commit 7075e116 by Maria Agustina

1423

1 parent 1c6b271a
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
###############################################################################
#
# Odoo, Open Source Management Solution
#
# Copyright (c) All rights reserved:
# (c) 2015 TM_FULLNAME
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see http://www.gnu.org/licenses
#
###############################################################################
{ {
'name': 'hgt_cobranzas', 'name': "hgt_cobranzas",
'summary': 'hgt_cobranzas Module Project',
'version': '0.21.05.27',
'description': """ 'summary': """
hgt_cobranzas Module Project. Modulo de Cobranza""",
==============================================
Módulo para cobranzas.
'description': """
Modulo de Cobranza
""", """,
'author': 'HGT', 'author': 'ANAC SOFT',
'maintainer': 'HGT',
'contributors':,
'website': 'http://anacsoft.com', 'website': 'http://anacsoft.com',
'license': 'AGPL-3', # Categories can be used to filter modules in modules listing
# Check https://github.com/odoo/odoo/blob/master/odoo/addons/base/module/module_data.xml
# for the full list
'category': 'Uncategorized', 'category': 'Uncategorized',
'version': '0.21.05.27',
'depends': [ # any module necessary for this one to work correctly
'base', 'depends': ['base',
'asw_crm', 'asw_crm',
'asw_tpv', 'asw_tpv',
], ],
'external_dependencies': { # always loaded
'python': [
],
},
'data': [ 'data': [
'security/ir.model.access.csv', 'security/ir.model.access.csv',
'view/cobros.xml', 'views/cobros.xml',
'view/intereses.xml', 'views/intereses.xml',
'view/menu.xml', 'views/menu.xml',
], ],
# only loaded in demonstration mode
'demo': [ 'demo': [
#'demo/demo.xml',
], ],
'js': [
],
'css': [
],
'qweb': [
],
'images': [
],
'test': [
],
'application': True,
'installable': True, 'installable': True,
} 'application': True,
}
\ No newline at end of file \ No newline at end of file
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
...@@ -35,3 +35,4 @@ class vnt_cobros(models.Model): ...@@ -35,3 +35,4 @@ class vnt_cobros(models.Model):
...@@ -8,4 +8,10 @@ class asw_comprobante(models.Model): ...@@ -8,4 +8,10 @@ class asw_comprobante(models.Model):
string=u'Linea Deuda', string=u'Linea Deuda',
comodel_name='vnt.linea_deuda', comodel_name='vnt.linea_deuda',
ondelete='set null', ondelete='set null',
)
nd_lin_deuda = fields.Many2one(
string=u'Linea Deuda',
comodel_name='vnt.linea_deuda',
ondelete='set null',
) )
\ No newline at end of file \ No newline at end of file
...@@ -9,8 +9,8 @@ class vnt_linea_deuda(models.Model): ...@@ -9,8 +9,8 @@ class vnt_linea_deuda(models.Model):
#hacer dominio solo facturas emitidas, ventas #hacer dominio solo facturas emitidas, ventas
ld_factura = fields.One2many( ld_factura = fields.One2many(
string='Factura', string='Factura',
comodel_name='hgt.incidencias', comodel_name='asw.comprobante',
inverse_name='cliente', inverse_name='comp_lin_deuda',
) )
ld_fecha_vto = fields.Datetime( ld_fecha_vto = fields.Datetime(
...@@ -28,6 +28,12 @@ class vnt_linea_deuda(models.Model): ...@@ -28,6 +28,12 @@ class vnt_linea_deuda(models.Model):
related='ld_factura.comp_total', related='ld_factura.comp_total',
) )
ld_select = fields.Bool( ld_select = fields.Boolean(
string="Seleccionar", string="Seleccionar",
)
ld_nd = fields.One2many(
string='Nota Débito',
comodel_name='asw.comprobante',
inverse_name='nd_lin_deuda',
) )
\ No newline at end of file \ No newline at end of file
...@@ -38,12 +38,14 @@ ...@@ -38,12 +38,14 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form> <form>
<!--<sheet>--> <!--<sheet>-->
<group col="4"> <group col="2" string="Cliente y resumen">
<field name="co_cliente" /> <field colspan="1" nolabel="1" name="co_cliente" />
<field name="co_resumen" /> <div colspan="1"></div>
<field colspan="1" nolabel="1" name="co_resumen" />
</group> </group>
<group col="4" string="Deudas"> <notebook colspan="4">
<field name="co_lin_deuda"> <page string="Deudas">
<field nolabel="1" name="co_lin_deuda">
<tree create="0" delete="0" edit="0" editable="top"> <tree create="0" delete="0" edit="0" editable="top">
<field name="ld_factura" /> <field name="ld_factura" />
<field name="ld_fecha_vto" /> <field name="ld_fecha_vto" />
...@@ -52,8 +54,9 @@ ...@@ -52,8 +54,9 @@
<field name="ld_select" /> <field name="ld_select" />
</tree> </tree>
</field> </field>
</group> </page>
<group col="4"> </notebook>
<group name='total' class="oe_subtotal_footer oe_right">
<field name="co_total_deuda" /> <field name="co_total_deuda" />
<field name="co_total_interes" /> <field name="co_total_interes" />
<field name="co_total" /> <field name="co_total" />
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<record id="action_vnt_interes_act_window" model="ir.actions.act_window"> <record id="action_vnt_interes_act_window" model="ir.actions.act_window">
<field name="type">ir.actions.act_window</field> <field name="type">ir.actions.act_window</field>
<field name="name">Interés</field> <field name="name">Interés</field>
<field name="res_model">vnt_interes</field> <field name="res_model">vnt.interes</field>
<field name="view_mode">tree,form</field> <field name="view_mode">tree,form</field>
<field name="view_type">form</field> <field name="view_type">form</field>
<field name="target">current</field> <field name="target">current</field>
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<record id="view_vnt_interes_tree" model="ir.ui.view"> <record id="view_vnt_interes_tree" model="ir.ui.view">
<field name="name">Interés</field> <field name="name">Interés</field>
<field name="model">vnt_interes</field> <field name="model">vnt.interes</field>
<field name="type">tree</field> <field name="type">tree</field>
<field name="mode">primary</field> <field name="mode">primary</field>
<field name="priority" eval="16" /> <field name="priority" eval="16" />
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<record id="view_vnt_interes_form" model="ir.ui.view"> <record id="view_vnt_interes_form" model="ir.ui.view">
<field name="name">Interés</field> <field name="name">Interés</field>
<field name="model">vnt_interes</field> <field name="model">vnt.interes</field>
<field name="type">form</field> <field name="type">form</field>
<field name="mode">primary</field> <field name="mode">primary</field>
<field name="priority" eval="16" /> <field name="priority" eval="16" />
...@@ -37,11 +37,15 @@ ...@@ -37,11 +37,15 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form> <form>
<!--<sheet>--> <!--<sheet>-->
<group col="4"> <group col="4" string="Clientes" >
<field name="int_cliente" /> <field name="int_cliente" widget="many2many_tags" />
<field name="int_todos"/> <field name="int_todos"/>
<field name="int_ritmo"/> </group>
<field name="int_plantilla"/> <group col="4" string="Frecuencia">
<field nolabel="1" name="int_ritmo"/>
</group>
<group col="4" string="Plantilla de Envío">
<field nolabel="1" name="int_plantilla"/>
</group> </group>
<!--</sheet>--> <!--</sheet>-->
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!