fix typo on undeclared variable xml_id

This commit is contained in:
Yannick Vaucher 2014-09-01 16:26:55 +02:00
parent 4c61ce6060
commit bdfa970d3d
1 changed files with 1 additions and 1 deletions

View File

@ -917,7 +917,7 @@ class ir_model_data(osv.osv):
if record.exists():
return record
if raise_if_not_found:
raise ValueError('No record found for unique ID %s. It may have been deleted.' % (xml_id))
raise ValueError('No record found for unique ID %s. It may have been deleted.' % (xmlid))
return None
# OLD API