ir.model: fix loading of data, for inheriting models
ir.model: fix loading of data, for inheriting models

Since a recent commit, non (long, int) values will propagate, so we'd
better not use inherit_id = browse_record(...) as a value in create()'s
dict.

Previously, it did work because we define __int__() so that:
    int(browse_record(...)) == browse_record(...).id


akretion/openerp-server,akretion/openerp-server,akretion/openerp-server