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
bd6128b60d
  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): class better_zip_geonames_import(orm.TransientModel):
_name = 'better.zip.geonames.import' _name = 'better.zip.geonames.import'
_description = 'Import Better Zip from Geonames' _description = 'Import Better Zip from Geonames'
_rec_name = 'country_id'
_columns = { _columns = {
'country_id': fields.many2one('res.country', 'Country', required=True), 'country_id': fields.many2one('res.country', 'Country', required=True),

Loading…
Cancel
Save