[FIX] fields: when executing (4, *) operations on o2m fields, check the existence...
authorMartin Trigaux <mat@openerp.com>
Mon, 24 Mar 2014 16:21:30 +0000 (17:21 +0100)
committerMartin Trigaux <mat@openerp.com>
Mon, 24 Mar 2014 16:21:30 +0000 (17:21 +0100)
commit66d6fb065f6677441c928899c2773e57d665986a
tree7f3f1fb42986a70cc18449f5c6fa7712c85e53de
parent7b0b8a07908e6a259d5c7a451b767a2230711820
[FIX] fields: when executing (4, *) operations on o2m fields, check the existence based on the sql model of the table.

If the o2m field linked to the o2m is stored on a different table (eg: inherit), previous request would crash as the field do not exists in the '_table' sql table

bzr revid: mat@openerp.com-20140324162130-fyotk8vqmkha43eb
openerp/osv/fields.py