Commit 7075e116 by Maria Agustina

1423

1 parent 1c6b271a
# -*- 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',
'summary': 'hgt_cobranzas Module Project',
'version': '0.21.05.27',
'name': "hgt_cobranzas",
'description': """
hgt_cobranzas Module Project.
==============================================
Módulo para cobranzas.
'summary': """
Modulo de Cobranza""",
'description': """
Modulo de Cobranza
""",
'author': 'HGT',
'maintainer': 'HGT',
'contributors':,
'author': 'ANAC SOFT',
'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',
'version': '0.21.05.27',
'depends': [
'base',
# any module necessary for this one to work correctly
'depends': ['base',
'asw_crm',
'asw_tpv',
],
'external_dependencies': {
'python': [
],
},
# always loaded
'data': [
'security/ir.model.access.csv',
'view/cobros.xml',
'view/intereses.xml',
'view/menu.xml',
'views/cobros.xml',
'views/intereses.xml',
'views/menu.xml',
],
# only loaded in demonstration mode
'demo': [
#'demo/demo.xml',
],
'js': [
],
'css': [
],
'qweb': [
],
'images': [
],
'test': [
],
'application': True,
'installable': True,
'application': True,
}
\ 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):
......@@ -9,3 +9,9 @@ class asw_comprobante(models.Model):
comodel_name='vnt.linea_deuda',
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
......@@ -9,8 +9,8 @@ class vnt_linea_deuda(models.Model):
#hacer dominio solo facturas emitidas, ventas
ld_factura = fields.One2many(
string='Factura',
comodel_name='hgt.incidencias',
inverse_name='cliente',
comodel_name='asw.comprobante',
inverse_name='comp_lin_deuda',
)
ld_fecha_vto = fields.Datetime(
......@@ -28,6 +28,12 @@ class vnt_linea_deuda(models.Model):
related='ld_factura.comp_total',
)
ld_select = fields.Bool(
ld_select = fields.Boolean(
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
......@@ -38,12 +38,14 @@
<field name="arch" type="xml">
<form>
<!--<sheet>-->
<group col="4">
<field name="co_cliente" />
<field name="co_resumen" />
<group col="2" string="Cliente y resumen">
<field colspan="1" nolabel="1" name="co_cliente" />
<div colspan="1"></div>
<field colspan="1" nolabel="1" name="co_resumen" />
</group>
<group col="4" string="Deudas">
<field name="co_lin_deuda">
<notebook colspan="4">
<page string="Deudas">
<field nolabel="1" name="co_lin_deuda">
<tree create="0" delete="0" edit="0" editable="top">
<field name="ld_factura" />
<field name="ld_fecha_vto" />
......@@ -52,8 +54,9 @@
<field name="ld_select" />
</tree>
</field>
</group>
<group col="4">
</page>
</notebook>
<group name='total' class="oe_subtotal_footer oe_right">
<field name="co_total_deuda" />
<field name="co_total_interes" />
<field name="co_total" />
......
......@@ -5,7 +5,7 @@
<record id="action_vnt_interes_act_window" model="ir.actions.act_window">
<field name="type">ir.actions.act_window</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_type">form</field>
<field name="target">current</field>
......@@ -13,7 +13,7 @@
<record id="view_vnt_interes_tree" model="ir.ui.view">
<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="mode">primary</field>
<field name="priority" eval="16" />
......@@ -29,7 +29,7 @@
<record id="view_vnt_interes_form" model="ir.ui.view">
<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="mode">primary</field>
<field name="priority" eval="16" />
......@@ -37,11 +37,15 @@
<field name="arch" type="xml">
<form>
<!--<sheet>-->
<group col="4">
<field name="int_cliente" />
<group col="4" string="Clientes" >
<field name="int_cliente" widget="many2many_tags" />
<field name="int_todos"/>
<field name="int_ritmo"/>
<field name="int_plantilla"/>
</group>
<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>
<!--</sheet>-->
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!