odoo/odoo — pull request #1234 by Gorash (2014-07-17 07:49:16+00:00)
Title: 8.0 fix prefetch fields chm

[FIX] model: The user install / update / test is different from the normal mode (no prefetch in test mode) some errors are hidden.
[IMP] model: when the orm create/update a table check if they are at least one row of the table to load column default values to improve speed.