convert.py: use the get_object_reference() API for ir.model.data