← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 795453] [NEW] ir.module: refactor _get_views(), significantly optimize

 

Public bug reported:

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.

** Affects: openobject-server
     Importance: Undecided
     Assignee: xrg (xrg)
         Status: Fix Committed


** Tags: ir.module

** Changed in: openobject-server
       Status: New => In Progress

** Changed in: openobject-server
     Assignee: (unassigned) => xrg (xrg)

** Branch linked: lp:~openerp-dev/openobject-server/trunk-bug-795453-xrg

** Changed in: openobject-server
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/795453

Title:
  ir.module: refactor _get_views(), significantly optimize

Status in OpenERP Server:
  Fix Committed

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/795453/+subscriptions


Follow ups

References