lp:~openerp-dev/openobject-server/trunk-bug-1088030-tpa
- Get this branch:
- bzr branch lp:~openerp-dev/openobject-server/trunk-bug-1088030-tpa
Branch merges
- OpenERP Core Team: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedopenerp/addons/base/res/res_users.py (+1/-1)
Related bugs
Related blueprints
Branch information
Recent revisions
- 4704. By Antony Lesuisse (OpenERP)
-
[REV] image dont generate smaller thumbnail if avoid_if_small, massive speedup on demo
- 4702. By Olivier Dony (Odoo)
-
[IMP] res.users: enable cache on context_get, used by the _() translation function
When _() fails to find a context lang it looks
up the user language by calling context_get().
During module installation this may happen
thousands of times, and drastically slow down
the installation. Caching context_get calls
is an effective way to work around this,
until we find a better solution. - 4701. By Olivier Dony (Odoo)
-
[FIX] orm,registry: properly check m2o FKs during model update + fix some models `auto_init`ed multiple times
The case where no constraint existed at all was not working,
and after fixing it, the ORM started to re-create the same
constraints multiple times for some modules. This was for
models that are split within a module (such as res.users in
base, which is made of several small classes): all the
partial models were going through _auto_init instead
of only the final one - doing useless extra work.Unfortunately establishing the FK happens before the
XML data files are loaded, so a number of FK and
NOT NULL constraints failed to apply due to missing
tables/records. base.sql had to be extended a bit
to cover these cases in a minimalist fashion
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:openobject-server