Skip to content

Commit

Permalink
Merge c903d87 into f1ac645
Browse files Browse the repository at this point in the history
  • Loading branch information
damendieta authored Nov 19, 2016
2 parents f1ac645 + c903d87 commit 668ebfd
Show file tree
Hide file tree
Showing 6 changed files with 182 additions and 0 deletions.
85 changes: 85 additions & 0 deletions l10n_ec_config/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
.. 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 Localization configurator
===================================

This module helps in the Ecuador's localization installation process.

Configurador de la localización ecuatoriana
===========================================

Este módulo facilita la instalación de la localización ecuatoriana.

Tested on version / Probado en la versión
=========================================
9.0c-20160726

Usage
=====

* Install this module.
* Go to Settings --> Ecuatorianas menu.
* Clic on the options as you need.

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

* Instala el módulo.
* Dirígete al menú Configuraciones --> Ecuatorianas.
* Selecciona las opciones según tus necesidades.

Demonstration in 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 is complete and operational.

Bug Tracker
===========
Los errores son rastreados en Github Issues, en caso de problemas por favor revisa si ya han sido reportados.
Si los has detectado primero, por favor reportalos con la informacion debida, al menos debes indicar la versión,
los pasos para reproducir, el comportamiento actual y el comportamiento esperado.

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_config%0Aversion:%209.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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>
* Daniel Alejandro Mendieta <damendieta@gmail.com>

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_config/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# -*- coding: utf-8 -*-
from . import models
26 changes: 26 additions & 0 deletions l10n_ec_config/__openerp__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# -*- coding: utf-8 -*-

{
'name': 'Ecuador Easy Install',
'version': '9.0.1.0.0',
'summary': "Ecuador's localization config settings",
'author': "Fabrica de Software Libre,Odoo Community Association (OCA)",
'license': 'AGPL-3',
'website': "www.libre.ec",
'category': 'Tools',
'images': [
],
'depends': [
'base_setup'
],
'data': [
'views/res_config.xml',
],
'demo': [
],
'test': [
],
'installable': True,
'auto_install': False,
'application': False,
}
2 changes: 2 additions & 0 deletions l10n_ec_config/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# -*- coding: utf-8 -*-
from . import res_config
12 changes: 12 additions & 0 deletions l10n_ec_config/models/res_config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
from openerp import models, fields


class EcuadorConfigSettings(models.TransientModel):
_name = 'l10n_ec_config.config.settings'
_inherit = 'res.config.settings'

module_l10n_ec_ote = fields.Boolean(
"Use Ecuador's Geopolitical information on partners.", )
module_l10n_ec = fields.Boolean(
"Use SUPERCIAS's Chart of accounts.", )
55 changes: 55 additions & 0 deletions l10n_ec_config/views/res_config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="config_form_view" model="ir.ui.view">
<field name="name">Ecuador's config form view</field>
<field name="model">l10n_ec_config.config.settings</field>
<field name="arch" type="xml">
<form string="Ecuador's Configuration"
class="oe_form_configuration">
<header>
<button string="Aplicar"
type="object"
name="execute"
class="oe_highlight"/>
o
<button string="Cancelar"
type="object"
name="cancel"
class="oe_link"/>
</header>
<group string="Accounting">
<label for="id" string="SUPERCIAS"/>
<div name="supercias">
<div name='module_l10n_ec'>
<field name="module_l10n_ec"
class="oe_inline"/>
<label for="module_l10n_ec"/>
</div>
</div>
</group>
<group string="Geopolitical configurations">
<label for="id" string="GEOPOLITICAL"/>
<div name="geo">
<div name='module_l10n_ec_ote'>
<field name="module_l10n_ec_ote"
class="oe_inline"/>
<label for="module_l10n_ec_ote"/>
</div>
</div>
</group>
</form>
</field>
</record>

<record id="action_l10n_ec_config" model="ir.actions.act_window">
<field name="name">Ecuador's configuration</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">l10n_ec_config.config.settings</field>
<field name="view_mode">form</field>
<field name="target">inline</field>
</record>
<menuitem id="menu_l10n_ec_config" action="action_l10n_ec_config"
name="Ecuatorianas" parent="base.menu_config" sequence="110"/>
</data>
</odoo>

0 comments on commit 668ebfd

Please sign in to comment.