Skip to content

Commit

Permalink
Merge 06eda5f into 950c863
Browse files Browse the repository at this point in the history
  • Loading branch information
David Arnold committed Oct 30, 2016
2 parents 950c863 + 06eda5f commit 51c68cd
Show file tree
Hide file tree
Showing 26 changed files with 9,963 additions and 663 deletions.
816 changes: 160 additions & 656 deletions LICENSE

Large diffs are not rendered by default.

24 changes: 17 additions & 7 deletions README.md
@@ -1,18 +1,28 @@
[![Runbot Status](https://runbot.odoo-community.org/runbot/badge/flat/195/10.0.svg)](https://runbot.odoo-community.org/runbot/repo/github-com-oca-l10n-columbia-201)
[![Build Status](https://travis-ci.org/OCA/l10n-columbia.svg?branch=10.0)](https://travis-ci.org/OCA/l10n-columbia)
[![Coverage Status](https://coveralls.io/repos/OCA/l10n-columbia/badge.svg?branch=10.0&service=github)](https://coveralls.io/github/OCA/l10n-columbia?branch=10.0)
[![Code Climate](https://codeclimate.com/github/OCA/l10n-columbia/badges/gpa.svg)](https://codeclimate.com/github/OCA/l10n-columbia)
[![Runbot Status](https://runbot.odoo-community.org/runbot/badge/flat/195/10.0.svg)](https://runbot.odoo-community.org/runbot/repo/github-com-oca-l10n-colombia-201)
[![Build Status](https://travis-ci.org/OCA/l10n-colombia.svg?branch=10.0)](https://travis-ci.org/OCA/l10n-colombia)
[![Coverage Status](https://coveralls.io/repos/OCA/l10n-colombia/badge.svg?branch=10.0&service=github)](https://coveralls.io/github/OCA/l10n-colombia?branch=10.0)
[![Code Climate](https://codeclimate.com/github/OCA/l10n-colombia/badges/gpa.svg)](https://codeclimate.com/github/OCA/l10n-colombia)

# Columbia localisation
# Colombia localisation

write me
This is the official colombian community localisation. You'll find here production proven modules
which are in a stable state. If there is any upgrade to any module, we expect contrinutors
to provide migrations files based on openupgradelib. Special migration instruccions will
be given separately. In the common case, simply updating will get you the latest version.

------------------
Esto es la localisacion oficial comunitaria de Colombia. Encontraras modulos probados en
produccion que estan en un estado estable. Si hay algun upgrade, requerimos de los
contribuidores de proveer scripts de migracion basandose en openupgradelib. Migraciones especiales
van a tener instrucciones por separada. En el caso comun, sin embargo, sera suficiente un simple
update del modulo para obtener la ultima version

[//]: # (addons)
[//]: # (end addons)

Translation Status
------------------
[![Transifex Status](https://www.transifex.com/projects/p/OCA-l10n-columbia-10-0/chart/image_png)](https://www.transifex.com/projects/p/OCA-l10n-columbia-10-0)
[![Transifex Status](https://www.transifex.com/projects/p/OCA-l10n-colombia-10-0/chart/image_png)](https://www.transifex.com/projects/p/OCA-l10n-colombia-10-0)

----

Expand Down
84 changes: 84 additions & 0 deletions l10n_co_geo/README.rst
@@ -0,0 +1,84 @@
.. image:: https://img.shields.io/badge/licence-LGPL--3-blue.svg
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3

=================
Colombian Geodata
=================

This module extends the functionality of DevCO's Colombian Basic Accounting (l10n_co) to support colombian departments and municipalities with their corresponding official codes. It also aims to improve usability in adressfields and helps with disambiguation (ej. Armenia, Quindio vs. Armenia, Antioquia).It saves you the work of configuring colombian geo data manually.

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

To install this module, you need to:

* just install the module. Necessary additional modules are installed automatically.

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

To configure this module, you need to:

* do nothing, as we have built in sensible defaults.

Usage
=====

To use (test) this module, you need to:

#. go to your database management page and install an instance with demo data
#. play around with adress fields.

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

For further information, please visit:

* `Professional Support (DevCO) <http://devco.co/>`_
* `Community Support (Colombian Odoo Community) <https://plus.google.com/communities/113251920989277948689>`_

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

* this module is considered production-ready and has no specific roadmap or improvement schedule.
* it might be planned to include ZIP codes, as they will be more widely adopted in colombia and open sourced by the MinTIC (Colombian Ministry of Information Technology, which is owner and copyright holder of the colombian ZIP Code Database)

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

Bugs are tracked on `GitHub Issues
<https://github.com/odoo-colombia/l10n-colombia/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.

Credits
=======

Images
------

* DevCO Colombia SAS: `Icon <https://github.com/odoo-colombia/l10n-colombia/blob/10.0/l10n_co_geo/static/description/icon.png>`_.

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

* David Arnold <dar@devco.co>
* Juan pablo Arias <jpa@devco.co>


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 https://odoo-community.org.
6 changes: 6 additions & 0 deletions l10n_co_geo/__init__.py
@@ -0,0 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright 2016 David Arnold, DevCO Colombia
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

from . import models
from .hooks import _fill_city_id
26 changes: 26 additions & 0 deletions l10n_co_geo/__manifest__.py
@@ -0,0 +1,26 @@
# -*- coding: utf-8 -*-
# Copyright 2016 David Arnold, DevCO Colombia
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

{
'name': 'Colombian Geodata',
'version': '10.0.1.0.0',
'author': 'DevCO Colombia SAS',
'maintainer': 'DevCO Colombia',
'website': 'http://devco.co',
'license': 'LGPL',
'category': 'Localization',
'summary': 'Cities, departments and UI improvements.',
'depends': ['base', 'sales_team'],
'data': [
'security/ir.model.access.csv',
'data/res_country_state.xml',
'data/res_country_state_city.xml',
'data/res_config_co.xml',
'data/res.country.csv',
'views/res_partner_view.xml',
'views/res_company_view.xml',
'views/res_country_state_city_view.xml',
],
'post_init_hook': '_fill_city_id',
}
227 changes: 227 additions & 0 deletions l10n_co_geo/data/res.country.csv
@@ -0,0 +1,227 @@
id,code_dian
base.af,013
base.al,017
base.dz,059
base.as,690
base.ad,037
base.ao,040
base.ai,041
base.ag,043
base.ar,063
base.am,026
base.aw,027
base.au,069
base.at,072
base.az,074
base.bs,077
base.bh,080
base.bd,081
base.bb,083
base.by,091
base.be,087
base.bz,088
base.bj,229
base.bm,090
base.bt,119
base.bo,097
base.ba,029
base.bw,101
base.br,105
base.io,787
base.bn,108
base.bg,111
base.bf,031
base.bi,115
base.kh,141
base.cm,145
base.ca,149
base.cv,127
base.ky,137
base.cf,640
base.td,203
base.cl,211
base.cn,215
base.cx,511
base.cc,165
base.co,169
base.km,173
base.cg,177
base.ck,183
base.cr,196
base.hr,198
base.cu,199
base.cy,221
base.cz,644
base.dk,232
base.dj,783
base.dm,235
base.do,647
base.tp,788
base.ec,239
base.eg,240
base.sv,242
base.gq,331
base.er,243
base.ee,251
base.et,253
base.fo,259
base.fj,870
base.fi,271
base.fr,275
base.gf,325
base.ga,281
base.gm,285
base.ge,287
base.de,023
base.gh,289
base.gi,293
base.gr,301
base.gl,305
base.gd,297
base.gp,309
base.gu,313
base.gt,317
base.gn,329
base.gw,334
base.gy,337
base.ht,341
base.hn,345
base.hk,351
base.hu,355
base.is,379
base.in,361
base.id,365
base.ir,372
base.iq,369
base.ie,375
base.il,383
base.it,386
base.jm,391
base.jp,399
base.jo,403
base.kz,406
base.ke,410
base.ki,411
base.kw,413
base.kg,412
base.la,420
base.lv,429
base.lb,431
base.ls,426
base.lr,434
base.ly,438
base.li,440
base.lt,443
base.lu,445
base.mo,447
base.mk,448
base.mg,450
base.mw,458
base.my,455
base.mv,461
base.ml,464
base.mt,467
base.mh,472
base.mq,477
base.mr,488
base.mu,485
base.mx,493
base.fm,494
base.md,496
base.mc,498
base.mn,497
base.ms,501
base.ma,474
base.mz,505
base.mm,093
base.na,507
base.nr,508
base.np,517
base.nl,573
base.an,047
base.nc,542
base.nz,548
base.ni,521
base.ne,525
base.ng,528
base.nu,531
base.nf,535
base.mp,469
base.kp,187
base.no,538
base.om,556
base.pk,576
base.pw,578
base.ps,897
base.pa,580
base.pg,545
base.py,586
base.pe,589
base.ph,267
base.pn,593
base.pl,603
base.pf,599
base.pt,607
base.pr,611
base.qa,618
base.re,660
base.ro,670
base.ru,676
base.rw,675
base.sh,710
base.lc,715
base.pm,700
base.st,720
base.vc,705
base.ws,687
base.sm,697
base.sa,053
base.sn,728
base.sc,731
base.sl,735
base.sg,741
base.sk,246
base.si,247
base.so,748
base.za,756
base.kr,190
base.es,245
base.lk,750
base.sd,759
base.sr,770
base.se,764
base.ch,767
base.sy,744
base.tw,218
base.tj,774
base.tz,780
base.th,776
base.tg,800
base.tk,805
base.to,810
base.tt,815
base.tn,820
base.tr,827
base.tm,825
base.tc,823
base.tv,828
base.ug,833
base.ua,830
base.ae,244
base.uk,628
base.us,249
base.uy,845
base.um,566
base.uz,847
base.vu,551
base.ve,850
base.vn,855
base.vg,863
base.vi,866
base.wf,875
base.eh,685
base.ye,880
base.yu,885
base.zr,888
base.zm,890
base.zw,665
15 changes: 15 additions & 0 deletions l10n_co_geo/data/res_config_co.xml
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- until included in https://github.com/odoo/odoo/blob/10.0/odoo/addons/base/res/res.lang.csv -->
<!-- https://github.com/odoo/odoo/pull/14065 -->
<record id="base.lang_es_CO" model="res.lang">
<field name="date_format">%d-%m-%Y</field>
</record>
<!-- until included in https://github.com/odoo/odoo/blob/10.0/odoo/addons/base/res/res_country_data.xml -->
<!-- https://github.com/odoo/odoo/pull/14066 -->
<record id="base.co" model="res.country">
<field name="address_format" eval="'%(street)s\n%(street2)s\n%(city)s %(state_name)s %(zip)s\n%(country_name)s'"
/>
</record>
</odoo>

0 comments on commit 51c68cd

Please sign in to comment.