Permalink
Browse files

[FIX] base: correct Mexican state code based in SAT catalog

The SAT provide this catalog to state codes:
http://www.sat.gob.mx/informacion_fiscal/factura_electronica/Documents/Complementoscfdi/catNomina.xls

This attribute is required in payroll v1.2.
Previous code version did not match the validation

Closes #15535
  • Loading branch information...
1 parent 0a989d6 commit 4cb1750a616860b51d17d4195c15cc99e677f602 @luistorresm luistorresm committed with mart-e Feb 17, 2017
Showing with 17 additions and 17 deletions.
  1. +17 −17 odoo/addons/base/res/res.country.state.csv
@@ -482,35 +482,35 @@ state_my_sbh,my,"Sabah","SBH"
state_my_swk,my,"Sarawak","SWK"
state_my_sgr,my,"Selangor","SGR"
state_my_trg,my,"Terengganu","TRG"
-state_mx_ags,mx,"Aguascalientes","AGS"
-state_mx_bc,mx,"Baja California","BC"
+state_mx_ags,mx,"Aguascalientes","AGU"
+state_mx_bc,mx,"Baja California","BCN"
state_mx_bcs,mx,"Baja California Sur","BCS"
-state_mx_chih,mx,"Chihuahua","CHIH"
+state_mx_chih,mx,"Chihuahua","CHH"
state_mx_col,mx,"Colima","COL"
-state_mx_camp,mx,"Campeche","CAMP"
-state_mx_coah,mx,"Coahuila","COAH"
-state_mx_chis,mx,"Chiapas","CHIS"
-state_mx_df,mx,"Ciudad de México","DF"
-state_mx_dgo,mx,"Durango","DGO"
+state_mx_camp,mx,"Campeche","CAM"
+state_mx_coah,mx,"Coahuila","COA"
+state_mx_chis,mx,"Chiapas","CHP"
+state_mx_df,mx,"Ciudad de México","DIF"
+state_mx_dgo,mx,"Durango","DUR"
state_mx_gro,mx,"Guerrero","GRO"
-state_mx_gto,mx,"Guanajuato","GTO"
-state_mx_hgo,mx,"Hidalgo","HGO"
+state_mx_gto,mx,"Guanajuato","GUA"
+state_mx_hgo,mx,"Hidalgo","HID"
state_mx_jal,mx,"Jalisco","JAL"
-state_mx_mich,mx,"Michoacán","MICH"
+state_mx_mich,mx,"Michoacán","MIC"
state_mx_mor,mx,"Morelos","MOR"
state_mx_mex,mx,"México","MEX"
state_mx_nay,mx,"Nayarit","NAY"
-state_mx_nl,mx,"Nuevo León","NL"
-state_mx_oax,mx,"Oaxaca","OAx"
+state_mx_nl,mx,"Nuevo León","NLE"
+state_mx_oax,mx,"Oaxaca","OAX"
state_mx_pue,mx,"Puebla","PUE"
-state_mx_q roo,mx,"Quintana Roo","Q ROO"
-state_mx_qro,mx,"Querétaro","QRO"
+state_mx_q roo,mx,"Quintana Roo","ROO"
+state_mx_qro,mx,"Querétaro","QUE"
state_mx_sin,mx,"Sinaloa","SIN"
state_mx_slp,mx,"San Luis Potosí","SLP"
state_mx_son,mx,"Sonora","SON"
state_mx_tab,mx,"Tabasco","TAB"
-state_mx_tlax,mx,"Tlaxcala","TLAX"
-state_mx_tamps,mx,"Tamaulipas","TAMPS"
+state_mx_tlax,mx,"Tlaxcala","TLA"
+state_mx_tamps,mx,"Tamaulipas","TAM"
state_mx_ver,mx,"Veracruz","VER"
state_mx_yuc,mx,"Yucatán","YUC"
state_mx_zac,mx,"Zacatecas","ZAC"

0 comments on commit 4cb1750

Please sign in to comment.