Browse Source

Remove France-specific code ; moved to new module l10n_fr_base_location_geonames_import on lp:openerp-french-localization

pull/22/head
Alexis de Lattre 11 years ago
committed by Lorenzo Battistini
parent
commit
1236d07195
  1. 2
      base_location_geonames_import/wizard/geonames_import.py

2
base_location_geonames_import/wizard/geonames_import.py

@ -47,8 +47,6 @@ class better_zip_geonames_import(orm.TransientModel):
state_id = False state_id = False
if states and row[4] and row[4] in states: if states and row[4] and row[4] in states:
state_id = states[row[4].upper()] state_id = states[row[4].upper()]
if row[0] == 'FR' and 'CEDEX' in row[1]:
return False
vals = { vals = {
'name': row[1], 'name': row[1],
'city': row[2], 'city': row[2],

Loading…
Cancel
Save