~openerp-dev/openobject-server/6.1-bug-1013566-odo

Viewing all changes in revision 4216.

  • Committer: Olivier Dony
  • Date: 2012-06-21 10:09:00 UTC
  • Revision ID: odo@openerp.com-20120621100900-xejo9yhgx36kyh03
[FIX] orm: make sure all *Model classes define _auto,_register,_transient

This is required to avoid strange mro() pitfalls
where an AbstractModel is inherited by a Model,
and the _auto=False of AbstractModel ends up
first in the mro() because Model does not explicitly
define it, and the BaseModel default _auto is farther
in the mro().

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: