[FIX] addons: avoid deleting resources after stand-alone base module update
When updating a database, base module is first loaded on its own, and this may cause useless deletion
of resource, because the aut-cleanup process. This process looks for records that are in the base namespace and
have not been processed, and deletes them because they are presumed removed from the newer version. This does not
properly work now that several modules install records (menus, groups) in the base namespace.
This is fixed by skipping the auto-cleanup process during the stand-alone loading of base, which is fine
because it will be processed properly after the rest of the modules are loaded/updated.
(No specific LP bug reference, but many translation bugs stem partially from this)
bzr revid: odo@openerp.com-
20101213161802-ulsece9bb3q1y1fx