odoo/odoo — pull request #1192 by laetitia-gangloff (2014-07-15 16:52:20+00:00)
Title: compare model_id with id instead of browse record

I have a data file (CSV) to insert some ir.model.fields. The first time there is no problem, the second time, I get the following error "Changing the model of a field is forbidden!" and my CSV doesn't change from one run to another.

The comparison should be done between integer and not between integer and browse_record.