~akretion-team/ocb-server/fix-user-creation-in-multi-company

Viewing all changes in revision 5055.

  • Committer: trp-bzr-bot
  • Author(s): Olivier Dony
  • Date: 2013-07-30 11:46:45 UTC
  • mfrom: (4825.1.215 7.0)
  • Revision ID: odo@openerp.com-20130730114645-gvlvg4brabw7f3m9
[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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: