Browse Source

[FIX] WARNING test_8 openerp.models: Cannot execute name_search, no _rec_name defined on better.zip.geonames.import

pull/22/head
Lorenzo Battistini 10 years ago
parent
commit
a9c203e408
  1. 1
      base_location_geonames_import/wizard/geonames_import.py

1
base_location_geonames_import/wizard/geonames_import.py

@ -36,6 +36,7 @@ logger = logging.getLogger(__name__)
class better_zip_geonames_import(orm.TransientModel):
_name = 'better.zip.geonames.import'
_description = 'Import Better Zip from Geonames'
_rec_name = 'country_id'
_columns = {
'country_id': fields.many2one('res.country', 'Country', required=True),

Loading…
Cancel
Save