Since that fn() is usually called for a single module, it is not worth
fetching all modules' data, but rather group by the menus/reports/views
models.
In the "account-fr" test, this reduces around 2k sql calls.
bzr revid: xrg@linux.gr-20110610094533-0dwg4a4mx3hqmfji
This name is also a library, imported. Avoid using it as a name.
(cherry picked from commit fb5bcbbd10447d8d046a84d251217c2b3e8a7ddd)
bzr revid: xrg@linux.gr-20110610094324-7rf2uio6g8g3c317
- Some logging code moved from netsvc.py to loglevels.py
- Changed imports to use the new openerp module
- config and netsvc initialization calls move to openerp-server.py
- Moved openerp-server.py outside the old bin directory
- Some imports in tools moved inside the methods to break mutual-dependencies
bzr revid: vmt@openerp.com-20110207125723-ooee7d7ng5elmkso