odoo/odoo — pull request #976 by rco-odoo (2014-07-07 13:50:23+00:00)
Title: [FIX] models: reorganize model instantiation

Adding custom fields was broken, because the models did not initialize themselves.
Move code from _build_model() to __init__() just like before the code reorganization.