diff options
| author | Osiris Roman <osirisr1994@gmail.com> | 2020-05-01 04:47:39 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2020-05-05 12:40:10 +0000 |
| commit | a3e61f54d1fe0096b3a06f6c1c5a39467b44a62b (patch) | |
| tree | 6048d0a58617d0a21f7d5623a118721460630a8e | |
| parent | 9c2a0f1db7654b2822b0c6c2703be3583fd92428 (diff) | |
[FIX] l10n_ec: correct currency
The currency of Ecuador is USD, ECS is archived.
Add states of Ecuador
Signs CLA
Modificando la moneda oficial de Ecuador de sucre a dolar.
La moneda oficial del Ecuador cambió de sucre a dolar en el año 2000.
introducing Ecuadorian states
Correcting previous commit according to mart-e especifications
State codes follow the ISO 3166-2. Each code is compound by two parts separated by a hyphen "-". First part is "EC" (The ISO ecuadorian code), and the second part is the ISO state code.
Correcting res.country.state file according to mart-e especifications
Adding the states directly in the l10n_ec file
closes odoo/odoo#50653
X-original-commit: 1a6b70c6c3d8d739173de59d61563b0a7aad01c3
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
| -rw-r--r-- | addons/l10n_ec/__manifest__.py | 1 | ||||
| -rw-r--r-- | addons/l10n_ec/data/l10n_ec_chart_data.xml | 2 | ||||
| -rw-r--r-- | addons/l10n_ec/data/res.country.state.csv | 25 | ||||
| -rw-r--r-- | doc/cla/individual/osirisroman.md | 11 |
4 files changed, 38 insertions, 1 deletions
diff --git a/addons/l10n_ec/__manifest__.py b/addons/l10n_ec/__manifest__.py index 9c8262568ff..986a0535938 100644 --- a/addons/l10n_ec/__manifest__.py +++ b/addons/l10n_ec/__manifest__.py @@ -25,6 +25,7 @@ Accounting chart and localization for Ecuador. 'data/account_data.xml', 'data/account_tax_data.xml', 'data/account_chart_template_data.xml', + 'data/res.country.state.csv', ], 'demo': [ 'demo/demo_company.xml', diff --git a/addons/l10n_ec/data/l10n_ec_chart_data.xml b/addons/l10n_ec/data/l10n_ec_chart_data.xml index 012a0548709..8d3e59cdb09 100644 --- a/addons/l10n_ec/data/l10n_ec_chart_data.xml +++ b/addons/l10n_ec/data/l10n_ec_chart_data.xml @@ -2,7 +2,7 @@ <odoo> <record id="ec_chart_template" model="account.chart.template"> <field name="name">Ecuador - Chart of Accounts</field> - <field name="currency_id" ref="base.ECS"/> + <field name="currency_id" ref="base.USD"/> <field name="bank_account_code_prefix">10.01.02</field> <field name="cash_account_code_prefix">10.01.01</field> <field name="transfer_account_code_prefix">10.01.03</field> diff --git a/addons/l10n_ec/data/res.country.state.csv b/addons/l10n_ec/data/res.country.state.csv new file mode 100644 index 00000000000..b27dac28ed4 --- /dev/null +++ b/addons/l10n_ec/data/res.country.state.csv @@ -0,0 +1,25 @@ +"id","country_id:id","name","code" +state_ec_1,base.ec,"Azuay","EC-A" +state_ec_2,base.ec,"Bolivar","EC-B" +state_ec_3,base.ec,"Cañar","EC-F" +state_ec_4,base.ec,"Carchi","EC-C" +state_ec_5,base.ec,"Cotopaxi","EC-X" +state_ec_6,base.ec,"Chimborazo","EC-H" +state_ec_7,base.ec,"El Oro","EC-O" +state_ec_8,base.ec,"Esmeraldas","EC-E" +state_ec_9,base.ec,"Guayas","EC-G" +state_ec_10,base.ec,"Imbabura","EC-I" +state_ec_11,base.ec,"Loja","EC-L" +state_ec_12,base.ec,"Los Ríos","EC-R" +state_ec_13,base.ec,"Manabí","EC-M" +state_ec_14,base.ec,"Morona Santiago","EC-S" +state_ec_15,base.ec,"Napo","EC-N" +state_ec_16,base.ec,"Pastaza","EC-Y" +state_ec_17,base.ec,"Pichincha","EC-P" +state_ec_18,base.ec,"Tungurahua","EC-T" +state_ec_19,base.ec,"Zamora Chinchipe","EC-Z" +state_ec_20,base.ec,"Galápagos","EC-W" +state_ec_21,base.ec,"Sucumbios","EC-U" +state_ec_22,base.ec,"Orellana","EC-D" +state_ec_23,base.ec,"Santo Domingo de los Tsáchilas","EC-SD" +state_ec_24,base.ec,"Santa Elena","EC-SE" diff --git a/doc/cla/individual/osirisroman.md b/doc/cla/individual/osirisroman.md new file mode 100644 index 00000000000..e33e8909634 --- /dev/null +++ b/doc/cla/individual/osirisroman.md @@ -0,0 +1,11 @@ +Ecuador, 2020-30-04 + +I hereby agree to the terms of the Odoo Individual Contributor License +Agreement v1.0. + +I declare that I am authorized and able to make this agreement and sign this +declaration. + +Signed, + +Osiris Román osirisr1994@gmail.com https://github.com/OsirisRoman |
