Speed Improvement at installation

Some Typos

bzr revid: fp@tinyerp.com-bf6884dde43f379307d242b3e3866b408e445d18
This commit is contained in:
Fabien Pinckaers 2007-10-07 12:09:50 +00:00
parent c27b536e78
commit 254cde6528
1 changed files with 1 additions and 0 deletions

View File

@ -171,6 +171,7 @@ class ir_model_data(osv.osv):
ids = self.search(cr, uid, [('module','=',module),('name','=', xml_id)])
assert len(ids)==1, '%d reference(s) to %s. You should have only one !' % (len(ids),xml_id)
return ids[0]
_get_id = tools.cache()(_get_id)
def _update_dummy(self,cr, uid, model, module, xml_id=False, store=True):
if not xml_id: