fix typo on undeclared variable xml_id
This commit is contained in:
parent
4c61ce6060
commit
bdfa970d3d
|
@ -917,7 +917,7 @@ class ir_model_data(osv.osv):
|
||||||
if record.exists():
|
if record.exists():
|
||||||
return record
|
return record
|
||||||
if raise_if_not_found:
|
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
|
return None
|
||||||
|
|
||||||
# OLD API
|
# OLD API
|
||||||
|
|
Loading…
Reference in New Issue