Browse Source

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

pull/494/head
Lorenzo Battistini 11 years ago
committed by Jordi Ballester
parent
commit
8df4299b94
  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