-
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
167 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
.. 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. | ||
|
||
Tested on version | ||
================= | ||
10.0-20161103 | ||
|
||
Usage | ||
===== | ||
|
||
* Install this module. | ||
* Go to Settings --> Ecuatorianas menu. | ||
* Clic on the options as you need. | ||
|
||
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 | ||
=========== | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# -*- coding: utf-8 -*- | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# -*- coding: utf-8 -*- | ||
from . import res_config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.", ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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="Apply" | ||
type="object" | ||
name="execute" | ||
class="oe_highlight"/> | ||
o | ||
<button string="Cancel" | ||
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="Ecuador's configurations" parent="base.menu_administration" sequence="110"/> | ||
</data> | ||
</odoo> |