Last active
August 29, 2015 14:13
-
-
Save alexander-arce/50ca8e9b2c13623e178b to your computer and use it in GitHub Desktop.
States, cities Id's from OpenErp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT RCSC.ID, RCSC.NAME,MD.NAME,RCSC.state_id | |
| FROM IR_MODEL_DATA AS MD | |
| JOIN res_country_state_city AS RCSC ON RCSC.ID=MD.RES_ID | |
| WHERE MODULE='l10n_mx_cities' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT MD.RES_ID , RCS.ID,RCS.NAME,MD.NAME | |
| FROM IR_MODEL_DATA AS MD | |
| JOIN RES_COUNTRY_STATE AS RCS ON RCS.ID=MD.RES_ID | |
| WHERE MODULE='l10n_mx_states' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment