convert.py: use the get_object_reference() API for ir.model.data
authorP. Christeas <p_christ@hol.gr>
Fri, 26 Nov 2010 10:33:44 +0000 (12:33 +0200)
committerP. Christeas <p_christ@hol.gr>
Fri, 26 Nov 2010 10:33:44 +0000 (12:33 +0200)
commitca6fada2564ce40efd2d660755bf7c2f1c7cf006
tree2c345144b48c2f85cffb307ba7065aa614858ffe
parent12f4f6232cf2b9bf2475844cdcdb12599bab952c
convert.py: use the get_object_reference() API for ir.model.data

Note that the "return False" would have never worked, since the _get_id()
would have raised an exception for missing records.

bzr revid: p_christ@hol.gr-20101126103344-ugr20dnti4gezdoe
bin/tools/convert.py