Merge pull request #2113 from yvaucher/8.0-fix-ir_model-undefined-xml_id

fix typo on undeclared variable xml_id
This commit is contained in:
xmo-odoo 2014-09-02 07:56:27 +02:00
commit 9c2f093611
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