odoo/odoo — pull request #1592 by cecton (2014-08-05 10:18:26+00:00)
Title: [IMP] Do not create FK when destination model is _auto=False

It is not useful to try to create foreign keys when the destination
model is a PostgreSQL view for example.