~openerp-groupes/openobject-server/fix-delayed-ack

Viewing all changes in revision 3288.

  • Committer: Olivier Dony
  • Date: 2011-01-17 18:44:53 UTC
  • Revision ID: odo@openerp.com-20110117184453-kxvbuzmuge6u1mh4
[FIX] ir.model.data: ensure cache of known "model data reference ids" is not lost after osv inheritance

By storing this cache in the pool and only referencing it in the instance we ensure that it is not lost
when the osv instance is replaced in the pool, e.g. as soon as on osv object inherits from ir.model.data.
This is now needed, as the module data cleanup is now done globally at the end of all module installation,
while it was done on a smaller scale before (leading to other kinds of issues).

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: