bzr revid: fp@tinyerp.com-20081213061546-i2ymf8ku71heox4o
This commit is contained in:
Fabien Pinckaers 2008-12-13 07:15:46 +01:00
parent 245bdf0433
commit 862dcf8dcd
1 changed files with 1 additions and 1 deletions

View File

@ -435,7 +435,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.%s. You should have one and only one !' % (len(ids), module, xml_id)
return ids[0]
_get_id = tools.cache(skiparg=3)(_get_id)
_get_id = tools.cache(skiparg=2)(_get_id)
def _update_dummy(self,cr, uid, model, module, xml_id=False, store=True):
if not xml_id: