Fix fields_get api compatibility issue.
requested to merge topic/luc-demeyer/fix-fields_get-api-compatibility-issue-1475862999852/bitbucket-pr-1 into branch/odoo8
Created originally on Bitbucket by Anonymous
Fix fields_get api compatibility issue.