[FIX] l10n_ar: data and demo data

- AFIP code in UOMS saved as char
- fix missing account_id in demo data
- Remove demo data that was throwing error
- merge res country data to csv file.
- move res currency AFIP code data to csv file

closes odoo/odoo#37457

Signed-off-by: Josse Colpaert <jco@openerp.com>
This commit is contained in:
Katherine Zaoral
2019-09-30 15:02:00 +00:00
committed by Juan Jose Scarafia
parent 652414ca4e
commit 8de9ce5f7a
9 changed files with 308 additions and 1222 deletions
+1 -2
View File
@@ -85,9 +85,8 @@ Master Data:
'data/uom_uom_data.xml',
'data/l10n_latam.document.type.csv',
'data/res_partner_data.xml',
'data/res_currency_data.xml',
'data/res.currency.csv',
'data/res.country.csv',
'data/res_country_data.xml',
'views/account_move_view.xml',
'views/res_partner_view.xml',
'views/res_company_view.xml',
+212 -49
View File
@@ -1,49 +1,212 @@
id,l10n_ar_afip_code/id
base.al,401
base.ao,149
base.ar,200
base.am,349
base.aw,242
base.au,501
base.at,405
base.az,350
base.bs,239
base.bd,345
base.bb,201
base.bo,202
base.bg,407
base.ca,204
base.cl,208
base.cn,310
base.co,205
base.cr,206
base.cu,207
base.dm,233
base.ec,210
base.sv,211
base.ee,440
base.ge,351
base.hk,341
base.in,315
base.id,316
base.ir,318
base.il,319
base.kw,323
base.la,324
base.li,418
base.mt,420
base.md,443
base.mc,421
base.mn,329
base.me,453
base.nr,503
base.np,330
base.pw,516
base.pt,425
base.sm,428
base.rs,454
base.es,410
base.tk,699
base.to,519
base.tv,517
base.uy,225
id,l10n_ar_afip_code,l10n_ar_natural_vat,l10n_ar_legal_entity_vat,l10n_ar_other_vat
base.af,,50000003015,55000003017,51600003015
base.al,401,50000004011,55000004013,51600004011
base.dz,,50000001020,55000001022,51600001020
base.as,,50000006952,55000006954,51600006952
base.ad,,50000004046,55000004048,51600004046
base.ao,149,50000001497,55000001499,51600001497
base.ai,,50000006529,55000006520,51600006529
base.ag,,50000002256,55000002258,51600002256
base.am,349,50000006022,55000006024,51600006022
base.aw,242,50000006537,55000006539,51600006537
base.au,501,50000004992,55000004994,51600004992
base.at,405,50000004054,55000004056,51600004054
base.az,350,50000003902,55000003904,51600003902
base.bs,239,50000002906,55000002908,51600002906
base.bh,,50000003031,55000003033,51600003031
base.bd,345,50000003457,55000003459,51600003457
base.bb,201,50000002019,55000002010,51600002019
base.by,,50000004399,55000004390,51600004399
base.be,,50000004062,55000004064,51600004062
base.bz,,50000002361,55000002363,51600002361
base.bj,,50000001624,55000001626,51600001624
base.bm,,50000006634,55000006636,51600006634
base.bt,,50000002825,55000002827,51600002825
base.bo,202,50000000040,55000000042,51600000040
base.ba,,50000004461,55000004463,51600004461
base.bw,,50000001039,55000001030,51600001039
base.br,,50000000059,55000000050,51600000059
base.bn,,50000003910,55000003912,51600003910
base.bg,407,50000004070,55000004072,51600004070
base.bf,,50000001012,55000001014,51600001012
base.bi,,50000001047,55000001049,51600001047
base.kh,,50000003066,55000003068,51600003066
base.cm,,50000001055,55000001057,51600001055
base.ca,204,50000002043,55000002045,51600002043
base.cv,,50000001500,55000001502,51600001500
base.ky,,50000006715,55000006717,51600006715
base.cf,,50000001071,55000001073,51600001071
base.td,,50000001535,55000001537,51600001535
base.cl,208,50000000032,55000000034,51600000032
base.cn,310,50000003104,55000003106,51600003104
base.cx,,50000006723,55000006725,51600006723
base.cc,,50000006731,55000006733,51600006731
base.co,205,50000002051,55000002053,51600002051
base.km,,50000001896,55000001898,51600001896
base.cg,,50000001527,55000001529,51600001527
base.ck,,50000006545,55000006547,51600006545
base.cr,206,50000001586,55000001588,51600001586
base.ci,,50000001101,55000001103,51600001101
base.hr,,50000006030,55000006032,51600006030
base.cu,207,50000002396,55000002398,51600002396
base.cy,,50000003112,55000003114,51600003112
base.cz,,50000006057,55000006059,51600006057
base.dk,,50000004097,55000004099,51600004097
base.dj,,50000001861,55000001863,51600001861
base.dm,233,50000002337,55000002339,51600002337
base.do,,50000002094,55000002096,51600002094
base.ec,210,50000002426,55000002428,51600002426
base.eg,,50000001136,55000001138,51600001136
base.sv,211,50000002116,55000002118,51600002116
base.gq,,50000001195,55000001197,51600001195
base.er,,50000001853,55000001855,51600001853
base.ee,440,50000004402,55000004404,51600004402
base.et,,50000001144,55000001146,51600001144
base.fo,,50000006065,55000006067,51600006065
base.fj,,50000005123,55000005125,51600005123
base.fi,,50000004119,55000004110,51600004119
base.fr,,50000004127,55000004129,51600004127
base.pf,,50000006561,55000006563,51600006561
base.ga,,50000001152,55000001154,51600001152
base.gm,,50000001160,55000001162,51600001160
base.ge,351,50000003880,55000003882,51600003880
base.de,,50000004380,55000004382,51600004380
base.gh,,50000001179,55000001170,51600001179
base.gi,,50000006650,55000006652,51600006650
base.gr,,50000004135,55000004137,51600004135
base.gl,,50000006669,55000006660,51600006669
base.gd,,50000002882,55000002884,51600002884
base.gu,,50000006677,55000006679,51600006677
base.gt,,50000002132,55000002134,51600002132
base.gn,,50000001187,55000001189,51600001187
base.gw,,50000001845,55000001847,51600001845
base.gy,,50000002140,55000002142,51600002140
base.ht,,50000002159,55000002150,51600002159
base.va,,50000004313,55000004315,51600004313
base.hn,,50000002167,55000002169,51600002167
base.hk,341,50000006685,55000006687,51600006685
base.hu,,50000004143,55000004145,51600004143
base.is,,50000003813,55000003815,51600003813
base.in,315,50000003155,55000003157,51600003155
base.id,316,50000003163,55000003165,51600003163
base.ir,318,50000002930,55000002932,51600002930
base.ie,,50000004151,55000004153,51600004151
base.il,319,50000002876,55000002878,51600002876
base.it,,50000003546,55000003548,51600003546
base.jm,,50000002175,55000002177,51600002175
base.jp,,50000003201,55000003203,51600003201
base.jo,,50000003007,55000003009,51600003007
base.kz,,50000003929,55000003920,51600003929
base.ke,,50000001209,55000001200,51600001209
base.ki,,50000005166,55000005168,51600005166
base.kw,323,50000003236,55000003238,51600003236
base.kg,,50000003937,55000003939,51600003937
base.la,324,50000003244,55000003246,51600003244
base.lv,,50000004410,55000004412,51600004410
base.lb,,50000003252,55000003254,51600003252
base.ls,,50000001217,55000001219,51600001217
base.lr,,50000001225,55000001227,51600001225
base.ly,,50000001233,55000001235,51600001233
base.li,418,50000004186,55000004188,51600004186
base.lt,,50000004429,55000004420,51600004429
base.lu,,50000004194,55000004196,51600004194
base.mo,,50000003449,55000003440,51600003449
base.mk,,50000004909,55000004900,51600004909
base.mg,,50000001241,55000001243,51600001241
base.mw,,50000001543,55000001545,51600001543
base.my,,50000003260,55000003262,51600003260
base.mv,,50000003279,55000003270,51600003279
base.ml,,50000001632,55000001634,51600001632
base.mt,420,50000004364,55000004366,51600004364
base.mh,,50000005204,55000005206,51600005204
base.mr,,50000001292,55000001294,51600001292
base.mu,,50000001284,55000001286,51600001284
base.mx,,50000002183,55000002185,51600002183
base.fm,,50000005905,55000005907,51600005905
base.md,443,50000004437,55000004439,51600004437
base.mc,421,50000004216,55000004218,51600004216
base.mn,329,50000003295,55000003297,51600003295
base.ms,,50000006863,55000006865,51600006863
base.ma,,50000001276,55000001278,51600001276
base.mz,,50000001519,55000001510,51600001519
base.mm,,50000002841,55000002843,51600002841
base.na,,50000001837,55000001839,51600001837
base.nr,503,50000005034,55000005036,51600005034
base.np,330,50000003309,55000003300,51600003309
base.nl,,50000004232,55000004234,51600004232
base.nz,,50000005042,55000005044,51600005042
base.ni,,50000002191,55000002193,51600002191
base.ne,,50000001306,55000001308,51600001306
base.ng,,50000001314,55000001316,51600001314
base.nu,,50000006871,55000006873,51600006871
base.mp,,50000005212,55000005214,51600005212
base.kp,,50000003082,55000003084,51600003082
base.no,,50000004224,55000004226,51600004224
base.om,,50000003287,55000003289,51600003287
base.pk,,50000003325,55000003327,51600003325
base.pw,516,50000005913,55000005915,51600005913
base.pa,,50000002205,55000002207,51600002205
base.pg,,50000005131,55000005133,51600005131
base.py,,50000000024,55000000026,51600000024
base.pe,,50000002221,55000002223,51600002221
base.ph,,50000003120,55000003122,51600003120
base.pn,,50000006901,55000006903,51600006901
base.pl,,50000004240,55000004242,51600004240
base.pt,425,50000004259,55000004250,51600004259
base.pr,,50000002213,55000002215,51600002213
base.qa,,50000002981,55000002983,51600002981
base.ro,,50000004275,55000004277,51600004275
base.ru,,50000006014,55000006016,51600006014
base.rw,,50000001330,55000001332,51600001330
base.sh,,50000006979,55000006970,51600006979
base.kn,,50000002892,55000002894,51600002892
base.lc,,50000002345,55000002347,51600002345
base.vc,,50000002353,55000002355,51600002353
base.ws,,50000005069,55000005069,51600005069
base.sm,428,50000004283,55000004285,51600004283
base.st,,50000001829,55000001820,51600001829
base.sa,,50000003023,55000003025,51600003023
base.sn,,50000001349,55000001340,51600001349
base.sc,,50000001810,55000001812,51600001810
base.sl,,50000001357,55000001359,51600001357
base.sg,,50000003333,55000003335,51600003333
base.si,,50000004496,55000004498,51600004496
base.sb,,50000005182,55000005184,51600005182
base.so,,50000001365,55000001367,51600001365
base.za,,50000001713,55000001715,51600001713
base.kr,,50000003090,55000003092,51600003090
base.es,410,50000004100,55000004102,51600004100
base.lk,,50000003074,55000003076,51600003074
base.sd,,50000001381,55000001383,51600001381
base.sr,,50000002329,55000002320,51600002329
base.sz,,50000001373,55000001375,51600001373
base.se,,50000004291,55000004293,51600004291
base.ch,,50000004305,55000004307,51600004305
base.sy,,50000003341,55000003343,51600003341
base.tw,,50000003139,55000003130,51600003139
base.tj,,50000003899,55000003890,51600003899
base.tz,,50000001551,55000001553,51600001551
base.th,,50000002914,55000002916,51600002914
base.tg,,50000001403,55000001405,51600001403
base.tk,699,50000006995,55000006997,51600006995
base.to,519,50000005190,55000005192,51600005190
base.tt,,50000002434,55000002436,51600002434
base.tn,,50000001411,55000001413,51600001411
base.tr,,50000003503,55000003505,51600003503
base.tm,,50000003554,55000003556,51600003554
base.tc,,50000006782,55000006784,51600006782
base.tv,517,50000005174,55000005176,51600005174
base.ug,,50000001705,55000001707,51600001705
base.ua,,50000006049,55000006040,51600006049
base.ae,,50000003317,55000003319,51600003317
base.uk,,50000004267,55000004269,51600004267
base.us,,50000002124,55000002126,51600002124
base.uy,225,,55000000018,51600000016
base.uz,,50000003562,55000003564,51600003562
base.vu,,50000005050,55000005052,51600005050
base.ve,,50000002264,55000002266,51600002264
base.vn,,50000003376,55000003378,51600003376
base.vg,,50000006820,55000006822,51600006820
base.ye,,50000003392,55000003394,51600003392
base.zm,,50000001446,55000001448,51600001446
base.zw,,50000001322,55000001324,51600001322
1 id l10n_ar_afip_code/id l10n_ar_afip_code l10n_ar_natural_vat l10n_ar_legal_entity_vat l10n_ar_other_vat
2 base.al base.af 401 50000003015 55000003017 51600003015
3 base.ao base.al 149 401 50000004011 55000004013 51600004011
4 base.ar base.dz 200 50000001020 55000001022 51600001020
5 base.am base.as 349 50000006952 55000006954 51600006952
6 base.aw base.ad 242 50000004046 55000004048 51600004046
7 base.au base.ao 501 149 50000001497 55000001499 51600001497
8 base.at base.ai 405 50000006529 55000006520 51600006529
9 base.az base.ag 350 50000002256 55000002258 51600002256
10 base.bs base.am 239 349 50000006022 55000006024 51600006022
11 base.bd base.aw 345 242 50000006537 55000006539 51600006537
12 base.bb base.au 201 501 50000004992 55000004994 51600004992
13 base.bo base.at 202 405 50000004054 55000004056 51600004054
14 base.bg base.az 407 350 50000003902 55000003904 51600003902
15 base.ca base.bs 204 239 50000002906 55000002908 51600002906
16 base.cl base.bh 208 50000003031 55000003033 51600003031
17 base.cn base.bd 310 345 50000003457 55000003459 51600003457
18 base.co base.bb 205 201 50000002019 55000002010 51600002019
19 base.cr base.by 206 50000004399 55000004390 51600004399
20 base.cu base.be 207 50000004062 55000004064 51600004062
21 base.dm base.bz 233 50000002361 55000002363 51600002361
22 base.ec base.bj 210 50000001624 55000001626 51600001624
23 base.sv base.bm 211 50000006634 55000006636 51600006634
24 base.ee base.bt 440 50000002825 55000002827 51600002825
25 base.ge base.bo 351 202 50000000040 55000000042 51600000040
26 base.hk base.ba 341 50000004461 55000004463 51600004461
27 base.in base.bw 315 50000001039 55000001030 51600001039
28 base.id base.br 316 50000000059 55000000050 51600000059
29 base.ir base.bn 318 50000003910 55000003912 51600003910
30 base.il base.bg 319 407 50000004070 55000004072 51600004070
31 base.kw base.bf 323 50000001012 55000001014 51600001012
32 base.la base.bi 324 50000001047 55000001049 51600001047
33 base.li base.kh 418 50000003066 55000003068 51600003066
34 base.mt base.cm 420 50000001055 55000001057 51600001055
35 base.md base.ca 443 204 50000002043 55000002045 51600002043
36 base.mc base.cv 421 50000001500 55000001502 51600001500
37 base.mn base.ky 329 50000006715 55000006717 51600006715
38 base.me base.cf 453 50000001071 55000001073 51600001071
39 base.nr base.td 503 50000001535 55000001537 51600001535
40 base.np base.cl 330 208 50000000032 55000000034 51600000032
41 base.pw base.cn 516 310 50000003104 55000003106 51600003104
42 base.pt base.cx 425 50000006723 55000006725 51600006723
43 base.sm base.cc 428 50000006731 55000006733 51600006731
44 base.rs base.co 454 205 50000002051 55000002053 51600002051
45 base.es base.km 410 50000001896 55000001898 51600001896
46 base.tk base.cg 699 50000001527 55000001529 51600001527
47 base.to base.ck 519 50000006545 55000006547 51600006545
48 base.tv base.cr 517 206 50000001586 55000001588 51600001586
49 base.uy base.ci 225 50000001101 55000001103 51600001101
50 base.hr 50000006030 55000006032 51600006030
51 base.cu 207 50000002396 55000002398 51600002396
52 base.cy 50000003112 55000003114 51600003112
53 base.cz 50000006057 55000006059 51600006057
54 base.dk 50000004097 55000004099 51600004097
55 base.dj 50000001861 55000001863 51600001861
56 base.dm 233 50000002337 55000002339 51600002337
57 base.do 50000002094 55000002096 51600002094
58 base.ec 210 50000002426 55000002428 51600002426
59 base.eg 50000001136 55000001138 51600001136
60 base.sv 211 50000002116 55000002118 51600002116
61 base.gq 50000001195 55000001197 51600001195
62 base.er 50000001853 55000001855 51600001853
63 base.ee 440 50000004402 55000004404 51600004402
64 base.et 50000001144 55000001146 51600001144
65 base.fo 50000006065 55000006067 51600006065
66 base.fj 50000005123 55000005125 51600005123
67 base.fi 50000004119 55000004110 51600004119
68 base.fr 50000004127 55000004129 51600004127
69 base.pf 50000006561 55000006563 51600006561
70 base.ga 50000001152 55000001154 51600001152
71 base.gm 50000001160 55000001162 51600001160
72 base.ge 351 50000003880 55000003882 51600003880
73 base.de 50000004380 55000004382 51600004380
74 base.gh 50000001179 55000001170 51600001179
75 base.gi 50000006650 55000006652 51600006650
76 base.gr 50000004135 55000004137 51600004135
77 base.gl 50000006669 55000006660 51600006669
78 base.gd 50000002882 55000002884 51600002884
79 base.gu 50000006677 55000006679 51600006677
80 base.gt 50000002132 55000002134 51600002132
81 base.gn 50000001187 55000001189 51600001187
82 base.gw 50000001845 55000001847 51600001845
83 base.gy 50000002140 55000002142 51600002140
84 base.ht 50000002159 55000002150 51600002159
85 base.va 50000004313 55000004315 51600004313
86 base.hn 50000002167 55000002169 51600002167
87 base.hk 341 50000006685 55000006687 51600006685
88 base.hu 50000004143 55000004145 51600004143
89 base.is 50000003813 55000003815 51600003813
90 base.in 315 50000003155 55000003157 51600003155
91 base.id 316 50000003163 55000003165 51600003163
92 base.ir 318 50000002930 55000002932 51600002930
93 base.ie 50000004151 55000004153 51600004151
94 base.il 319 50000002876 55000002878 51600002876
95 base.it 50000003546 55000003548 51600003546
96 base.jm 50000002175 55000002177 51600002175
97 base.jp 50000003201 55000003203 51600003201
98 base.jo 50000003007 55000003009 51600003007
99 base.kz 50000003929 55000003920 51600003929
100 base.ke 50000001209 55000001200 51600001209
101 base.ki 50000005166 55000005168 51600005166
102 base.kw 323 50000003236 55000003238 51600003236
103 base.kg 50000003937 55000003939 51600003937
104 base.la 324 50000003244 55000003246 51600003244
105 base.lv 50000004410 55000004412 51600004410
106 base.lb 50000003252 55000003254 51600003252
107 base.ls 50000001217 55000001219 51600001217
108 base.lr 50000001225 55000001227 51600001225
109 base.ly 50000001233 55000001235 51600001233
110 base.li 418 50000004186 55000004188 51600004186
111 base.lt 50000004429 55000004420 51600004429
112 base.lu 50000004194 55000004196 51600004194
113 base.mo 50000003449 55000003440 51600003449
114 base.mk 50000004909 55000004900 51600004909
115 base.mg 50000001241 55000001243 51600001241
116 base.mw 50000001543 55000001545 51600001543
117 base.my 50000003260 55000003262 51600003260
118 base.mv 50000003279 55000003270 51600003279
119 base.ml 50000001632 55000001634 51600001632
120 base.mt 420 50000004364 55000004366 51600004364
121 base.mh 50000005204 55000005206 51600005204
122 base.mr 50000001292 55000001294 51600001292
123 base.mu 50000001284 55000001286 51600001284
124 base.mx 50000002183 55000002185 51600002183
125 base.fm 50000005905 55000005907 51600005905
126 base.md 443 50000004437 55000004439 51600004437
127 base.mc 421 50000004216 55000004218 51600004216
128 base.mn 329 50000003295 55000003297 51600003295
129 base.ms 50000006863 55000006865 51600006863
130 base.ma 50000001276 55000001278 51600001276
131 base.mz 50000001519 55000001510 51600001519
132 base.mm 50000002841 55000002843 51600002841
133 base.na 50000001837 55000001839 51600001837
134 base.nr 503 50000005034 55000005036 51600005034
135 base.np 330 50000003309 55000003300 51600003309
136 base.nl 50000004232 55000004234 51600004232
137 base.nz 50000005042 55000005044 51600005042
138 base.ni 50000002191 55000002193 51600002191
139 base.ne 50000001306 55000001308 51600001306
140 base.ng 50000001314 55000001316 51600001314
141 base.nu 50000006871 55000006873 51600006871
142 base.mp 50000005212 55000005214 51600005212
143 base.kp 50000003082 55000003084 51600003082
144 base.no 50000004224 55000004226 51600004224
145 base.om 50000003287 55000003289 51600003287
146 base.pk 50000003325 55000003327 51600003325
147 base.pw 516 50000005913 55000005915 51600005913
148 base.pa 50000002205 55000002207 51600002205
149 base.pg 50000005131 55000005133 51600005131
150 base.py 50000000024 55000000026 51600000024
151 base.pe 50000002221 55000002223 51600002221
152 base.ph 50000003120 55000003122 51600003120
153 base.pn 50000006901 55000006903 51600006901
154 base.pl 50000004240 55000004242 51600004240
155 base.pt 425 50000004259 55000004250 51600004259
156 base.pr 50000002213 55000002215 51600002213
157 base.qa 50000002981 55000002983 51600002981
158 base.ro 50000004275 55000004277 51600004275
159 base.ru 50000006014 55000006016 51600006014
160 base.rw 50000001330 55000001332 51600001330
161 base.sh 50000006979 55000006970 51600006979
162 base.kn 50000002892 55000002894 51600002892
163 base.lc 50000002345 55000002347 51600002345
164 base.vc 50000002353 55000002355 51600002353
165 base.ws 50000005069 55000005069 51600005069
166 base.sm 428 50000004283 55000004285 51600004283
167 base.st 50000001829 55000001820 51600001829
168 base.sa 50000003023 55000003025 51600003023
169 base.sn 50000001349 55000001340 51600001349
170 base.sc 50000001810 55000001812 51600001810
171 base.sl 50000001357 55000001359 51600001357
172 base.sg 50000003333 55000003335 51600003333
173 base.si 50000004496 55000004498 51600004496
174 base.sb 50000005182 55000005184 51600005182
175 base.so 50000001365 55000001367 51600001365
176 base.za 50000001713 55000001715 51600001713
177 base.kr 50000003090 55000003092 51600003090
178 base.es 410 50000004100 55000004102 51600004100
179 base.lk 50000003074 55000003076 51600003074
180 base.sd 50000001381 55000001383 51600001381
181 base.sr 50000002329 55000002320 51600002329
182 base.sz 50000001373 55000001375 51600001373
183 base.se 50000004291 55000004293 51600004291
184 base.ch 50000004305 55000004307 51600004305
185 base.sy 50000003341 55000003343 51600003341
186 base.tw 50000003139 55000003130 51600003139
187 base.tj 50000003899 55000003890 51600003899
188 base.tz 50000001551 55000001553 51600001551
189 base.th 50000002914 55000002916 51600002914
190 base.tg 50000001403 55000001405 51600001403
191 base.tk 699 50000006995 55000006997 51600006995
192 base.to 519 50000005190 55000005192 51600005190
193 base.tt 50000002434 55000002436 51600002434
194 base.tn 50000001411 55000001413 51600001411
195 base.tr 50000003503 55000003505 51600003503
196 base.tm 50000003554 55000003556 51600003554
197 base.tc 50000006782 55000006784 51600006782
198 base.tv 517 50000005174 55000005176 51600005174
199 base.ug 50000001705 55000001707 51600001705
200 base.ua 50000006049 55000006040 51600006049
201 base.ae 50000003317 55000003319 51600003317
202 base.uk 50000004267 55000004269 51600004267
203 base.us 50000002124 55000002126 51600002124
204 base.uy 225 55000000018 51600000016
205 base.uz 50000003562 55000003564 51600003562
206 base.vu 50000005050 55000005052 51600005050
207 base.ve 50000002264 55000002266 51600002264
208 base.vn 50000003376 55000003378 51600003376
209 base.vg 50000006820 55000006822 51600006820
210 base.ye 50000003392 55000003394 51600003392
211 base.zm 50000001446 55000001448 51600001446
212 base.zw 50000001322 55000001324 51600001322
+46
View File
@@ -0,0 +1,46 @@
id,l10n_ar_afip_code
base.ARS,PES
base.EUR,60
base.USD,DOL
base.ANG,28
base.AUD,26
base.BOB,31
base.BRL,12
base.CAD,18
base.CHF,09
base.CLP,33
base.CNY,64
base.COP,32
base.CZK,24
base.DKK,14
base.DOP,42
base.ECS,36
base.EGP,46
base.GBP,21
base.GTQ,55
base.HKD,51
base.HNL,63
base.HUF,56
base.ILS,30
base.INR,62
base.ITL,04
base.JMD,53
base.JPY,19
base.KWD,59
base.MAD,45
base.MXN,10
base.NIO,44
base.NOK,15
base.PAB,43
base.PEN,35
base.PLN,61
base.PYG,29
base.RON,40
base.SAR,47
base.SEK,16
base.SGD,52
base.THB,57
base.TWD,54
base.UYU,11
base.VEF,23
base.ZAR,34
1 id l10n_ar_afip_code
2 base.ARS PES
3 base.EUR 60
4 base.USD DOL
5 base.ANG 28
6 base.AUD 26
7 base.BOB 31
8 base.BRL 12
9 base.CAD 18
10 base.CHF 09
11 base.CLP 33
12 base.CNY 64
13 base.COP 32
14 base.CZK 24
15 base.DKK 14
16 base.DOP 42
17 base.ECS 36
18 base.EGP 46
19 base.GBP 21
20 base.GTQ 55
21 base.HKD 51
22 base.HNL 63
23 base.HUF 56
24 base.ILS 30
25 base.INR 62
26 base.ITL 04
27 base.JMD 53
28 base.JPY 19
29 base.KWD 59
30 base.MAD 45
31 base.MXN 10
32 base.NIO 44
33 base.NOK 15
34 base.PAB 43
35 base.PEN 35
36 base.PLN 61
37 base.PYG 29
38 base.RON 40
39 base.SAR 47
40 base.SEK 16
41 base.SGD 52
42 base.THB 57
43 base.TWD 54
44 base.UYU 11
45 base.VEF 23
46 base.ZAR 34
File diff suppressed because it is too large Load Diff
-36
View File
@@ -1,36 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo noupdate="True">
<record model='res.currency' id='base.ARS'>
<field name="l10n_ar_afip_code">PES</field>
<field name="active" eval="True"/>
</record>
<record model='res.currency' id='base.AUD'>
<field name="l10n_ar_afip_code">026</field>
</record>
<record model='res.currency' id='base.CAD'>
<field name="l10n_ar_afip_code">018</field>
</record>
<record model='res.currency' id='base.GBP'>
<field name="l10n_ar_afip_code">021</field>
</record>
<record model='res.currency' id='base.JPY'>
<field name="l10n_ar_afip_code">019</field>
</record>
<record model='res.currency' id='base.MXN'>
<field name="l10n_ar_afip_code">010</field>
</record>
<record model='res.currency' id='base.USD'>
<field name="l10n_ar_afip_code">DOL</field>
</record>
<record model='res.currency' id='base.UYU'>
<field name="l10n_ar_afip_code">011</field>
</record>
<record model='res.currency' id='base.VEF'>
<field name="l10n_ar_afip_code">023</field>
</record>
<record model='res.currency' id='base.EUR'>
<field name="l10n_ar_afip_code">060</field>
</record>
</odoo>
+16 -15
View File
@@ -1,14 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo noupdate="True">
<record model='uom.uom' id='uom.product_uom_kgm'>
<field name='l10n_ar_afip_code'>01</field>
</record>
<record model='uom.uom' id='uom.product_uom_meter'>
<field name='l10n_ar_afip_code'>02</field>
</record>
<record model='uom.uom' id='uom.product_uom_litre'>
<field name='l10n_ar_afip_code'>05</field>
</record>
<record model='uom.uom' id='uom.product_uom_unit'>
<field name='l10n_ar_afip_code'>07</field>
</record>
<record model='uom.uom' id='uom.product_uom_dozen'>
<field name='l10n_ar_afip_code'>09</field>
</record>
<record model='uom.uom' id='uom.product_uom_cm'>
<field name='l10n_ar_afip_code'>20</field>
</record>
<record model='uom.uom' id='uom.product_uom_day'>
<field name='l10n_ar_afip_code'>98</field>
</record>
<record model='uom.uom' id='uom.product_uom_dozen'>
<field name='l10n_ar_afip_code'>9</field>
</record>
<record model='uom.uom' id='uom.product_uom_floz'>
<field name='l10n_ar_afip_code'>98</field>
</record>
@@ -27,21 +40,12 @@
<record model='uom.uom' id='uom.product_uom_inch'>
<field name='l10n_ar_afip_code'>98</field>
</record>
<record model='uom.uom' id='uom.product_uom_kgm'>
<field name='l10n_ar_afip_code'>1</field>
</record>
<record model='uom.uom' id='uom.product_uom_km'>
<field name='l10n_ar_afip_code'>17</field>
</record>
<record model='uom.uom' id='uom.product_uom_lb'>
<field name='l10n_ar_afip_code'>98</field>
</record>
<record model='uom.uom' id='uom.product_uom_litre'>
<field name='l10n_ar_afip_code'>5</field>
</record>
<record model='uom.uom' id='uom.product_uom_meter'>
<field name='l10n_ar_afip_code'>2</field>
</record>
<record model='uom.uom' id='uom.product_uom_mile'>
<field name='l10n_ar_afip_code'>98</field>
</record>
@@ -54,7 +58,4 @@
<record model='uom.uom' id='uom.product_uom_ton'>
<field name='l10n_ar_afip_code'>29</field>
</record>
<record model='uom.uom' id='uom.product_uom_unit'>
<field name='l10n_ar_afip_code'>7</field>
</record>
</odoo>
@@ -22,9 +22,9 @@
]"/>
</record>
<!-- Invoice from Asustek with vat 21, 27 and 10,5 -->
<!-- Invoice from Foreign with vat 21, 27 and 10,5 -->
<record id="demo_sup_invoice_2" model="account.move">
<field name="partner_id" ref="base.res_partner_1"/>
<field name="partner_id" ref="res_partner_foreign"/>
<field name="invoice_user_id" ref="base.user_demo"/>
<field name="invoice_payment_term_id" ref="account.account_payment_term_end_following_month"/>
<field name="type">in_invoice</field>
@@ -37,9 +37,9 @@
]"/>
</record>
<!-- Invoice from Asustek with vat zero and 21 -->
<!-- Invoice from Foreign with vat zero and 21 -->
<record id="demo_sup_invoice_3" model="account.move">
<field name="partner_id" ref="base.res_partner_1"/>
<field name="partner_id" ref="res_partner_foreign"/>
<field name="invoice_user_id" ref="base.user_demo"/>
<field name="invoice_payment_term_id" ref="account.account_payment_term_end_following_month"/>
<field name="type">in_invoice</field>
@@ -51,9 +51,9 @@
]"/>
</record>
<!-- Invoice to Asustek with vat exempt and 21 -->
<!-- Invoice to Foreign with vat exempt and 21 -->
<record id="demo_sup_invoice_4" model="account.move">
<field name="partner_id" ref="base.res_partner_1"/>
<field name="partner_id" ref="res_partner_foreign"/>
<field name="invoice_user_id" ref="base.user_demo"/>
<field name="invoice_payment_term_id" ref="account.account_payment_term_end_following_month"/>
<field name="type">in_invoice</field>
@@ -65,9 +65,9 @@
]"/>
</record>
<!-- Invoice to Asustek with all type of taxes -->
<!-- Invoice to Foreign with all type of taxes -->
<record id="demo_sup_invoice_5" model="account.move">
<field name="partner_id" ref="base.res_partner_1"/>
<field name="partner_id" ref="res_partner_foreign"/>
<field name="invoice_user_id" ref="base.user_demo"/>
<field name="invoice_payment_term_id" ref="account.account_payment_term_end_following_month"/>
<field name="type">in_invoice</field>
@@ -132,6 +132,7 @@
<field name="product_id" ref="l10n_ar.product_product_quote_despacho"/>
<field name="product_uom_id" ref="uom.product_uom_unit"/>
<field name="tax_ids" model="account.tax" eval="[(6, 0, obj().search([('company_id', '=', obj().env.ref('l10n_ar.company_ri').id), ('name', '=', 'IVA 21%'), ('type_tax_use', '=', 'purchase')], limit=1).ids)]"/>
<field name="account_id" model="account.move.line" eval="obj().env.ref('l10n_ar.product_product_quote_despacho').categ_id.property_account_income_categ_id.id"/>
</record>
<record id="demo_despacho_1_line_2" model="account.move.line" context="{'check_move_validity': False}">
<field name="move_id" ref="demo_despacho_1"/>
@@ -141,6 +142,7 @@
<field name="product_id" ref="l10n_ar.product_product_tasa_estadistica"/>
<field name="product_uom_id" ref="uom.product_uom_unit"/>
<field name="tax_ids" model="account.tax" eval="[(6, 0, obj().search([('company_id', '=', obj().env.ref('l10n_ar.company_ri').id), ('name', '=', 'IVA 21%'), ('type_tax_use', '=', 'purchase')], limit=1).ids)]"/>
<field name="account_id" model="account.move.line" eval="obj().env.ref('l10n_ar.product_product_tasa_estadistica').categ_id.property_account_income_categ_id.id"/>
</record>
<record id="demo_despacho_1_line_3" model="account.move.line" context="{'check_move_validity': False}">
<field name="move_id" ref="demo_despacho_1"/>
@@ -150,6 +152,7 @@
<field name="product_id" ref="l10n_ar.product_product_arancel"/>
<field name="product_uom_id" ref="uom.product_uom_unit"/>
<field name="tax_ids" model="account.tax" eval="[(6, 0, obj().search([('company_id', '=', obj().env.ref('l10n_ar.company_ri').id), ('name', '=', 'IVA No Gravado'), ('type_tax_use', '=', 'purchase')], limit=1).ids)]"/>
<field name="account_id" model="account.move.line" eval="obj().env.ref('l10n_ar.product_product_arancel').categ_id.property_account_income_categ_id.id"/>
</record>
<record id="demo_despacho_1_line_4" model="account.move.line" context="{'check_move_validity': False}">
<field name="move_id" ref="demo_despacho_1"/>
@@ -159,6 +162,7 @@
<field name="product_id" ref="l10n_ar.product_product_servicio_de_guarda"/>
<field name="product_uom_id" ref="uom.product_uom_unit"/>
<field name="tax_ids" model="account.tax" eval="[(6, 0, obj().search([('company_id', '=', obj().env.ref('l10n_ar.company_ri').id), ('name', '=', 'IVA No Gravado'), ('type_tax_use', '=', 'purchase')], limit=1).ids)]"/>
<field name="account_id" model="account.move.line" eval="obj().env.ref('l10n_ar.product_product_servicio_de_guarda').categ_id.property_account_income_categ_id.id"/>
</record>
<record id="demo_despacho_1_line_5" model="account.move.line" context="{'check_move_validity': False}">
<field name="name">FOB Total</field>
@@ -167,6 +171,7 @@
<field name="quantity">1</field>
<field name="product_uom_id" ref="uom.product_uom_unit"/>
<field name="tax_ids" model="account.tax" eval="[(6, 0, obj().search([('company_id', '=', obj().env.ref('l10n_ar.company_ri').id), ('name', '=', 'IVA 21%'), ('type_tax_use', '=', 'purchase')], limit=1).ids)]"/>
<field name="account_id" model="account.move.line" eval="obj().env.ref('product.product_category_all').property_account_income_categ_id.id"/>
</record>
<record id="demo_despacho_1_line_6" model="account.move.line" context="{'check_move_validity': False}">
<field name="name">Flete</field>
@@ -175,6 +180,7 @@
<field name="quantity">1</field>
<field name="product_uom_id" ref="uom.product_uom_unit"/>
<field name="tax_ids" model="account.tax" eval="[(6, 0, obj().search([('company_id', '=', obj().env.ref('l10n_ar.company_ri').id), ('name', '=', 'IVA 21%'), ('type_tax_use', '=', 'purchase')], limit=1).ids)]"/>
<field name="account_id" model="account.move.line" eval="obj().env.ref('product.product_category_all').property_account_income_categ_id.id"/>
</record>
<record id="demo_despacho_1_line_7" model="account.move.line" context="{'check_move_validity': False}">
<field name="name">Seguro</field>
@@ -183,6 +189,7 @@
<field name="quantity">1</field>
<field name="product_uom_id" ref="uom.product_uom_unit"/>
<field name="tax_ids" model="account.tax" eval="[(6, 0, obj().search([('company_id', '=', obj().env.ref('l10n_ar.company_ri').id), ('name', '=', 'IVA 21%'), ('type_tax_use', '=', 'purchase')], limit=1).ids)]"/>
<field name="account_id" model="account.move.line" eval="obj().env.ref('product.product_category_all').property_account_income_categ_id.id"/>
</record>
<record id="demo_despacho_1_line_8" model="account.move.line" context="{'check_move_validity': False}">
<field name="name">-FOB Total</field>
@@ -191,6 +198,7 @@
<field name="quantity">1</field>
<field name="product_uom_id" ref="uom.product_uom_unit"/>
<field name="tax_ids" model="account.tax" eval="[(6, 0, obj().search([('company_id', '=', obj().env.ref('l10n_ar.company_ri').id), ('name', '=', 'IVA No Gravado'), ('type_tax_use', '=', 'purchase')], limit=1).ids)]"/>
<field name="account_id" model="account.move.line" eval="obj().env.ref('product.product_category_all').property_account_income_categ_id.id"/>
</record>
<record id="demo_despacho_1_line_9" model="account.move.line" context="{'check_move_validity': False}">
<field name="name">-Flete</field>
@@ -199,6 +207,7 @@
<field name="quantity">1</field>
<field name="product_uom_id" ref="uom.product_uom_unit"/>
<field name="tax_ids" model="account.tax" eval="[(6, 0, obj().search([('company_id', '=', obj().env.ref('l10n_ar.company_ri').id), ('name', '=', 'IVA No Gravado'), ('type_tax_use', '=', 'purchase')], limit=1).ids)]"/>
<field name="account_id" model="account.move.line" eval="obj().env.ref('product.product_category_all').property_account_income_categ_id.id"/>
</record>
<record id="demo_despacho_1_line_10" model="account.move.line" context="{'check_move_validity': False}">
<field name="name">-Seguro</field>
@@ -207,6 +216,7 @@
<field name="quantity">1</field>
<field name="product_uom_id" ref="uom.product_uom_unit"/>
<field name="tax_ids" model="account.tax" eval="[(6, 0, obj().search([('company_id', '=', obj().env.ref('l10n_ar.company_ri').id), ('name', '=', 'IVA No Gravado'), ('type_tax_use', '=', 'purchase')], limit=1).ids)]"/>
<field name="account_id" model="account.move.line" eval="obj().env.ref('product.product_category_all').property_account_income_categ_id.id"/>
</record>
<!-- TODO add this once odoo tell us how manual taxes are encoded -->
+13 -31
View File
@@ -118,40 +118,22 @@
<field name='l10n_ar_afip_responsibility_type_id' ref="l10n_ar.res_IVA_LIB"/>
</record>
<!-- Default Partners -->
<!-- Main Partner -->
<record id="base.main_partner" model="res.partner">
<field name='l10n_latam_identification_type_id' ref="l10n_ar.it_cuit"/>
<field name='vat'>30111111118</field>
</record>
<!-- Wood Corner - Supplier -->
<record id="base.res_partner_1" model="res.partner">
<!-- Foreign Partner -->
<record id="res_partner_foreign" model="res.partner">
<field name="name">Foreign Inc</field>
<field eval="[(6, 0, [ref('base.res_partner_category_14'), ref('base.res_partner_category_12')])]" name="category_id"/>
<field name="is_company">1</field>
<field name="street">7841 Red Road</field>
<field name="city">San Francisco</field>
<field name="state_id" ref='base.state_us_5'/>
<field name="zip">95380</field>
<field name="country_id" ref="base.us"/>
<field name="email">foreing@example.com</field>
<field name="phone">(123)-456-7890</field>
<field name="website">http://www.foreign-inc.com</field>
<field name='l10n_latam_identification_type_id' ref="l10n_ar.it_cuit"/>
<field name='vat'>30222222229</field>
<field name='l10n_ar_afip_responsibility_type_id' ref="l10n_ar.res_IVARI"/>
</record>
<!-- Deco Addict - Customer -->
<record id="base.res_partner_2" model="res.partner">
<field name='l10n_latam_identification_type_id' ref="l10n_ar.it_cuit"/>
<field name='vat'>30111111126</field>
<field name='l10n_ar_afip_responsibility_type_id' ref="l10n_ar.res_IVARI"/>
</record>
<!-- Azure Interior - Supplier/Customer -->
<record id="base.res_partner_12" model="res.partner">
<field name='l10n_latam_identification_type_id' ref="l10n_ar.it_cuit"/>
<field name='vat'>30888888884</field>
<field name='l10n_ar_afip_responsibility_type_id' ref="l10n_ar.res_IVARI"/>
</record>
<!-- Ready Mat - cliente exterior -->
<record id="base.res_partner_4" model="res.partner">
<field name='l10n_latam_identification_type_id' ref="l10n_latam_base.it_fid"/>
<field name='vat'>12345678</field>
<field name='l10n_ar_afip_responsibility_type_id' ref="l10n_ar.res_EXT"/>
</record>
</odoo>
+2
View File
@@ -47,6 +47,7 @@
<field name='l10n_ar_afip_pos_partner_id' ref="l10n_ar.partner_ri"/>
<field name='l10n_ar_afip_pos_system'>II_IM</field>
<field name='l10n_ar_share_sequences' eval="True"/>
<field name='refund_sequence' eval="False"/>
</record>
<record id="sale_expo_journal_ri" model="account.journal">
@@ -58,6 +59,7 @@
<field name='l10n_ar_afip_pos_number'>2</field>
<field name='l10n_ar_afip_pos_partner_id' ref="l10n_ar.partner_ri"/>
<field name='l10n_ar_afip_pos_system'>FEERCEL</field>
<field name='refund_sequence' eval="False"/>
</record>
</data>