Commit fb07b7ee authored by Aurel's avatar Aurel

Merge remote-tracking branch 'nexedi/master' into py2zope4

parents dbb8b375 1b31fcbd
......@@ -10,41 +10,41 @@ The test operates on 'today' transactions.
from DateTime import DateTime
portal = context.getPortalObject()
accounting_module = portal.accounting_module
account_module = portal.account_module
ledger = portal.portal_categories.ledger
organisation_module = portal.organisation_module
person_module = portal.person_module
one_hour = 1.0 / 24.0
now = DateTime()
today = DateTime(now.year(), now.month(), now.day()) + 8 * one_hour
if with_ledger:
extra_kwargs_general = {'ledger': 'accounting/general'}
extra_kwargs_detailed = {'ledger': 'accounting/detailed'}
extra_kwargs_general = {'ledger': 'accounting/general'}
extra_kwargs_detailed = {'ledger': 'accounting/detailed'}
accounting_ledger = ledger.get('accounting', None)
if accounting_ledger is None:
accounting_ledger = ledger.newContent(portal_type='Category', id='accounting')
accounting_ledger = ledger.get('accounting', None)
if accounting_ledger is None:
accounting_ledger = ledger.newContent(portal_type='Category',
id='accounting')
for sub_category_name in ('general', 'detailed'):
sub_category = accounting_ledger.get(sub_category_name, None)
if sub_category is None:
sub_category = accounting_ledger.newContent(portal_type='Category', id=sub_category_name)
for sub_category_name in ('general', 'detailed'):
sub_category = accounting_ledger.get(sub_category_name, None)
if sub_category is None:
sub_category = accounting_ledger.newContent(portal_type='Category',
id=sub_category_name)
# necessary for the "ledger" form field to appear and have correct options
accounting_transaction = portal.portal_types.get('Accounting Transaction')
ledger_list = accounting_transaction.getLedgerList()
if 'accounting/general' not in ledger_list:
ledger_list.append('accounting/general')
if 'accounting/detailed' not in ledger_list:
ledger_list.append('accounting/detailed')
accounting_transaction.setLedgerList(ledger_list)
# necessary for the "ledger" form field to appear and have correct options
accounting_transaction = portal.portal_types.get('Accounting Transaction')
ledger_list = accounting_transaction.getLedgerList()
if 'accounting/general' not in ledger_list:
ledger_list.append('accounting/general')
if 'accounting/detailed' not in ledger_list:
ledger_list.append('accounting/detailed')
accounting_transaction.setLedgerList(ledger_list)
else:
extra_kwargs_general = {}
extra_kwargs_detailed = {}
extra_kwargs_general = {}
extra_kwargs_detailed = {}
context.AccountingTransactionModule_createAccountingTestDocument(
portal_type='Accounting Transaction',
......@@ -54,13 +54,12 @@ context.AccountingTransactionModule_createAccountingTestDocument(
destination_section_value=organisation_module.client_1,
start_date=today + 1 * one_hour,
embedded=(dict(portal_type='Accounting Transaction Line',
source_value=account_module.receivable,
source_debit=100.0),
source_value=account_module.receivable,
source_debit=100.0),
dict(portal_type='Accounting Transaction Line',
source_value=account_module.goods_sales,
source_credit=100.0)),
**extra_kwargs_general
)
source_value=account_module.goods_sales,
source_credit=100.0)),
**extra_kwargs_general)
context.AccountingTransactionModule_createAccountingTestDocument(
portal_type='Accounting Transaction',
......@@ -70,25 +69,25 @@ context.AccountingTransactionModule_createAccountingTestDocument(
destination_section_value=organisation_module.client_1,
start_date=today + 2 * one_hour,
embedded=(dict(portal_type='Accounting Transaction Line',
source_value=account_module.payable, source_debit=200.0),
source_value=account_module.payable,
source_debit=200.0),
dict(portal_type='Accounting Transaction Line',
source_value=account_module.goods_sales,
source_credit=200.0)),
**extra_kwargs_general
)
source_value=account_module.goods_sales,
source_credit=200.0)),
**extra_kwargs_general)
if with_ledger:
context.AccountingTransactionModule_createAccountingTestDocument(
portal_type='Accounting Transaction',
title='Transaction 3',
source_reference='3',
simulation_state='delivered',
destination_section_value=organisation_module.client_1,
start_date=today + 3 * one_hour,
embedded=(dict(portal_type='Accounting Transaction Line',
source_value=account_module.payable, source_debit=400.0),
dict(portal_type='Accounting Transaction Line',
source_value=account_module.goods_sales,
source_credit=400.0)),
**extra_kwargs_detailed
)
context.AccountingTransactionModule_createAccountingTestDocument(
portal_type='Accounting Transaction',
title='Transaction 3',
source_reference='3',
simulation_state='delivered',
destination_section_value=organisation_module.client_1,
start_date=today + 3 * one_hour,
embedded=(dict(portal_type='Accounting Transaction Line',
source_value=account_module.payable,
source_debit=400.0),
dict(portal_type='Accounting Transaction Line',
source_value=account_module.goods_sales,
source_credit=400.0)),
**extra_kwargs_detailed)
......@@ -6,5 +6,12 @@ if not acl_users.getUserById('super_user'):
password='super_user',
confirm='super_user',
)
acl_users.zodb_roles.assignRoleToPrincipal('Manager', 'super_user')
# BBB for PAS 1.9.0 we pass a response and undo the redirect
response = container.REQUEST.RESPONSE
acl_users.zodb_roles.manage_assignRoleToPrincipals(
'Manager',
('super_user',),
RESPONSE=response)
response.setStatus(200)
return 'Done'
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>BDI</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>BI</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>burundi</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>COM</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>KM</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>comoros</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>DJI</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>DJ</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>djibouti</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>ERI</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>ER</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>eritrea</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>ETH</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>ET</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>ethiopia</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>KEN</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>KE</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>kenya</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>MDG</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>MG</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>madagascar</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>MWI</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>MW</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>malawi</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>MUS</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>MU</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>mauritius</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>MYT</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>YT</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>mayotte</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>MOZ</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>MZ</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>mozambique</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>REU</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>RE</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>reunion</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>RWA</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>RW</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>rwanda</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>SYC</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>SC</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>seychelles</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>SOM</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>SO</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>somalia</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>UGA</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>UG</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>uganda</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>TZA</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>TZ</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>united_republic_of_tanzania</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>ZMB</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>ZM</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>zambia</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>ZWE</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>ZW</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>zimbabwe</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>AGO</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>AO</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>angola</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>CMR</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>CM</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>cameroon</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>CAF</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>CF</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>central_african_republic</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>TCD</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>TD</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>chad</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>COG</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>CG</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>congo</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>COD</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>CD</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>democratic_republic_of_the_congo</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>GNQ</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>GQ</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>equatorial_guinea</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>GAB</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>GA</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>gabon</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>STP</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>ST</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>sao_tome_and_principe</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>DZA</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>DZ</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>algeria</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>EGY</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>EG</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>egypt</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>MAR</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>MA</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>morocco</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>SDN</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>SD</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>sudan</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>TUN</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>TN</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>tunisia</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>ESH</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>EH</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>western_sahara</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>BWA</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>BW</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>botswana</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>LSO</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>LS</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>lesotho</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>NAM</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>NA</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>namibia</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>ZAF</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>ZA</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>south_africa</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>BEN</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>BJ</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>benin</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>BFA</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>BF</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>burkina_faso</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>CPV</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>CV</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>cape_verde</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>CIV</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>CI</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>cote_diivoire</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>GMB</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>GM</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>gambia</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>GHA</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>GH</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>ghana</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>GNB</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>GW</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>guinea-bissau</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>GIN</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>GN</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>guinea</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>LBR</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>LR</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>liberia</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>MLI</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>ML</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>mali</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>MRT</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>MR</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>mauritania</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>NER</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>NE</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>niger</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>NGA</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>NG</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>nigeria</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>SHN</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>SH</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>saint_helena</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>SEN</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>SN</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>senegal</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>SLE</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>SL</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>sierra_leone</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>TGO</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>TG</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>togo</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>AIA</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>AI</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>anguilla</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>ATG</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>AG</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>antigua_and_barbuda</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>ABW</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>AW</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>aruba</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>BHS</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>BS</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>bahamas</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>BRB</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>BB</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>barbados</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>VGB</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>VG</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>british_virgin_islands</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>CYM</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>KY</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>cayman_islands</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>CUB</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>CU</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>cuba</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>DMA</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>DM</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>dominica</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>DOM</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>DO</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>dominican_republic</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>GRD</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>GD</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>grenada</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>GLP</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>GP</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>guadeloupe</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>HTI</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>HT</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>haiti</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>JAM</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>JM</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>jamaica</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>MTQ</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>MQ</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>martinique</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>MSR</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>MS</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>montserrat</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>PRI</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>PR</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>puerto_rico</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>BLM</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>BL</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>saint-barthelemy</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>KNA</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>KN</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>saint_kitts_and_nevis</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>LCA</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>LC</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>saint_lucia</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>MAF</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>MF</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>saint_martin</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>VCT</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>VC</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>saint_vincent_and_the_grenadines</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>TTO</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>TT</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>trinidad_and_tobago</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>TCA</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>TC</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>turks_and_caicos_islands</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>BLZ</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>BZ</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>belize</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>CRI</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>CR</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>costa_rica</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>SLV</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>SV</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>el_salvador</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>GTM</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>GT</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>guatemala</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>HND</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>HN</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>honduras</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>MEX</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>MX</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>mexico</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>NIC</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>NI</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>nicaragua</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>PAN</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>PA</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>panama</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>BMU</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>BM</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>bermuda</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>CAN</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>CA</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>canada</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>GRL</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>GL</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>greenland</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>SPM</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>PM</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>saint_pierre_and_miquelon</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>USA</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>US</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>united_states_of_america</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>ARG</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>AR</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>argentina</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>BOL</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>BO</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>bolivia</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>BRA</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>BR</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>brazil</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>CHL</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>CL</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>chile</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>COL</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>CO</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>colombia</string> </value>
......
......@@ -53,6 +53,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>codification</string> </key>
<value> <string>ECU</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>EC</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>ecuador</string> </value>
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment