[FIX] ir.model: during creation of custom models, the _auto_init call should also...
authorOlivier Dony <odo@openerp.com>
Tue, 30 Jul 2013 11:46:45 +0000 (13:46 +0200)
committerOlivier Dony <odo@openerp.com>
Tue, 30 Jul 2013 11:46:45 +0000 (13:46 +0200)
commitd2ce7b412075d3682516803b625dccae2f9d9002
tree8f522f47e5b4949e287497a09e1127b4d25400cf
parent6fcd169b527b9f9babc2295b0c2b5a01ea695d87
[FIX] ir.model: during creation of custom models, the _auto_init call should also take care of custom fields created on-the-fly

The _auto_init call in ir.model.fields creation will not
do it because it happens before the insertion of the model
in the registry. It will only work for later addition of
fields.

bzr revid: odo@openerp.com-20130730114645-185kbupcrbtnv1tf
openerp/addons/base/ir/ir_model.py