Skip to content

Commit

Permalink
Merge 1db3828 into 345adc3
Browse files Browse the repository at this point in the history
  • Loading branch information
libreec committed Nov 25, 2015
2 parents 345adc3 + 1db3828 commit bc2e882
Show file tree
Hide file tree
Showing 17 changed files with 1,939 additions and 0 deletions.
116 changes: 116 additions & 0 deletions l10n_ec_femd/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

===================================
Ecuador's Cash Flow (direct)
===================================

This module allows to classify payments and collections to generate the cash flow.
* Works with the specifications of the Superintendencia de Compañías.

Flujo de efectivo (método directo)
==================================

Permite clasificar los cobros y pagos para la elaboración del Flujo de efectivo por el método directo.
* Utiliza la clasificación de la Superintendencia de Compañías.

Installation
============

To install this module, you need to:

* Add the module to your addons path.
* Install the module as usual.

Instalación
===========

Para instalar este módulo se debe:

* Agregar el módulo al directorio de addons.
* Instalarlo de manera regular.

Configuration
=============

This module doesn't requiere any configuration.

Configuración
=============

Este módulo no requiere configuraciones.

Usage
=====

This module changes the structure in payments and collections for allow classification, just use them.

Instrucciones de uso
====================

Este módulo modifica la estructura de la vista en cobros y pagos, permitiendo su clasificación, solo debes usarlas.

Demostración en runbot
======================

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/212/9.0

Known issues / Roadmap
======================

* There are no known issues.
* The module just classify but the report is not generated yet.

Problemas conocidos y planificación
===================================

* No existen problemas conocidos.
* El módulo permite clasificar los cobros y pagos, sin embargo, el reporte aún está pendiente.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-ecuador/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
`here <https://github.com/OCA/l10n-ecuador/issues/new?body=module:%20l10n_ec_femd%0Aversion:%209.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Rastreo de fallos
==================

Los fallos reciben seguimiento en `GitHub Issues <https://github.com/OCA/l10n-ecuador/issues>`_.
Si tiene algún inconveniente, por favor, revise si el mismo ha sido reportado con anterioridad.
Si no es así, su ayuda reportando el inconveniente será apreciada, por favor, sea lo más explícito posible
`aquí <https://github.com/OCA/l10n-ecuador/issues/new?body=module:%2020l10n_ec_femd%0Aversion:%209.0%0A%0A**Pasos%20para%20reproducir**%0A-%20...%0A%0A**Comportamiento%20actual**%0A%0A**Comportamiento%20esperado**>`_.

Credits
=======

Images
------

* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.

Contributors
------------

* Fábrica de Software Libre <desarrollo@libre.ec>

Maintainer
----------

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

To contribute to this module, please visit http://odoo-community.org... image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:alt: License: AGPL-3
2 changes: 2 additions & 0 deletions l10n_ec_femd/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# -*- coding: utf-8 -*-
from . import models
21 changes: 21 additions & 0 deletions l10n_ec_femd/__openerp__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# -*- coding: utf-8 -*-
{
'name': "Flujo de Efectivo (Directo) - Ecuador",
'summary': """Clasifica cobros y pagos para el Flujo de Efectivo.""",
'version': '9.0.1.0.0',
'author': "Fabrica de Software Libre,Odoo Community Association (OCA)",
'maintainer': 'Fabrica de Software Libre',
'website': 'http://www.libre.ec',
'license': 'AGPL-3',
'category': 'Account',
'depends': [
'base',
'account',
],
'data': [
'views/payment.xml',
],
'demo': [],
'test': [],
'installable': True,
}
2 changes: 2 additions & 0 deletions l10n_ec_femd/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# -*- coding: utf-8 -*-
from . import payment
34 changes: 34 additions & 0 deletions l10n_ec_femd/models/payment.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# -*- coding: utf-8 -*-
from openerp import models, fields


class Payment(models.Model):
_inherit = 'account.payment'

cobro_md = fields.Selection([
('95010101',
'Ventas de bienes y prestación de servicios'),
('95010102',
'Regalías, cuotas, comisiones y otras actividades ordinarias'),
('95010103',
'Contratos mantenidos con propósitos de intermediación'),
('95010104',
'Primas y prestaciones, anualidades y otros beneficios de pólizas'),
('95010105',
'Otros cobros por actividades de operación'), ],
string='Clasificación del cobro',
default='95010101')

pago_md = fields.Selection([
('95010201',
'Proveedores por el suministro de bienes y servicios'),
('95010202',
'Contratos mantenidos para intermediación o para negociar'),
('95010203',
'Por cuenta de los empleados'),
('95010204',
'Primas y prestaciones, anualidades y obligaciones de las pólizas'),
('95010205',
'Otros pagos por actividades de operación'), ],
string='Clasificación del pago',
default='95010201')
31 changes: 31 additions & 0 deletions l10n_ec_femd/views/payment.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<data>
<record id="view_payment_form_ec" model="ir.ui.view">
<field name="name">view.payment.form.ec</field>
<field name="model">account.payment</field>
<field name="inherit_id" ref="account.view_account_payment_form" />
<field name="arch" type="xml">
<xpath expr="//field[@name='journal_id']" position="before" >
<field name="pago_md"
attrs="{'invisible':[('payment_type', '!=', 'outbound')]}" />
<field name="cobro_md"
attrs="{'invisible':[('payment_type', '!=', 'inbound')]}" />
</xpath>
</field>
</record>
<record id="view_account_payment_invoice_form_ec" model="ir.ui.view">
<field name="name">view.account.payment.invoice.form.ec</field>
<field name="model">account.payment</field>
<field name="inherit_id" ref="account.view_account_payment_invoice_form" />
<field name="arch" type="xml">
<xpath expr="//field[@name='journal_id']" position="before" >
<field name="pago_md"
attrs="{'invisible':[('payment_type', '!=', 'outbound')]}" />
<field name="cobro_md"
attrs="{'invisible':[('payment_type', '!=', 'inbound')]}" />
</xpath>
</field>
</record>
</data>
</odoo>
119 changes: 119 additions & 0 deletions l10n_ec_ote/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

===================================
Ecuador's Geopolitical Information
===================================

This module adds the information requiered to select partner's location in states, canton and parish.

Infomación Geopolitica de Ecuador
=================================

Este módulo agrega la información necesaria para agregar la información de provincias, cantones
y parroquias en la ubicación de clientes y proveedores.

Installation
============

To install this module, you need to:

* Add the module to your addons path.
* Install the module as usual.

Instalación
===========

Para instalar este módulo se debe:

* Agregar el módulo al directorio de addons.
* Instalarlo de manera regular.

Configuration
=============

This module doesn't requiere any configuration.

Configuración
=============

Este módulo no requiere configuraciones.

Usage
=====

This module changes the structure in partner views to give you the options to select the cantons and parish, just use them.

Instrucciones de uso
====================

Este módulo modifica la estructura de la vista de terceros, permitiendo seleccionar las provincias, cantones y parroquias, solo debes usarlas.

Demostración en runbot
======================

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/repo/github-com-oca-l10n-ecuador-212

Known issues / Roadmap
======================

* There are no known issues.
* The module is complete and operational.

Problemas conocidos y planificación
===================================

* No existen problemas conocidos.
* El módulo está completo y operacional.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-ecuador/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
`here <https://github.com/OCA/l10n-ecuador/issues/new?body=module:%20l10n_ec_ote%0Aversion:%209.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Rastreo de fallos
==================

Los fallos reciben seguimiento en `GitHub Issues <https://github.com/OCA/l10n-ecuador/issues>`_.
Si tiene algún inconveniente, por favor, revise si el mismo ha sido reportado con anterioridad.
Si no es así, su ayuda reportando el inconveniente será apreciada, por favor, sea lo más explícito posible
`aquí <https://github.com/OCA/l10n-ecuador/issues/new?body=module:%2020l10n_ec_ote%0Aversion:%209.0%0A%0A**Pasos%20para%20reproducir**%0A-%20...%0A%0A**Comportamiento%20actual**%0A%0A**Comportamiento%20esperado**>`_.

Credits
=======

Images
------

* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.

Contributors
------------

* Daniel Alejandro Mendieta <desarrollo@libre.ec>

Colaboradores
-------------

* Daniel Alejandro Mendieta <desarrollo@libre.ec>

Maintainer
----------

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

To contribute to this module, please visit http://odoo-community.org.
2 changes: 2 additions & 0 deletions l10n_ec_ote/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# -*- coding: utf-8 -*-
from . import models
24 changes: 24 additions & 0 deletions l10n_ec_ote/__openerp__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# -*- coding: utf-8 -*-
{
'name': "O.T.E. - Ecuador",
'summary': """Datos de provincias, cantones y parroquias de Ecuador.""",
'version': '9.0.1.0.0',
'author': "Fabrica de Software Libre,Odoo Community Association (OCA)",
'maintainer': 'Fabrica de Software Libre',
'website': 'http://www.libre.ec',
'license': 'AGPL-3',
'category': 'Tools',
'depends': [
'base',
],
'data': [
'views/res_partner.xml',
'data/res.country.state.csv',
'data/l10n_ec_ote.canton.csv',
'data/l10n_ec_ote.parroquia.csv',
'security/ir.model.access.csv',
],
'demo': [],
'test': [],
'installable': True,
}
Loading

0 comments on commit bc2e882

Please sign in to comment.