diff options
| author | Olivier Dony <odo@openerp.com> | 2011-06-24 12:24:19 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2011-06-24 12:24:19 +0200 |
| commit | 48e5f7b773b97c5705746cb25a79a56919058523 (patch) | |
| tree | c35b976cee6c9417faf63cc4b897e67fda3d1357 /addons/document/document_data.xml | |
| parent | 2e7721f1afb9b1f9b0eb63e714bdba78b4220fb4 (diff) | |
[FIX] base_action_rule: dumb patch to avoid repeated calls to related cron task
base.action.rule uses a trick to piggyback on the
first execution of ir.cron's poolJobs() to register
its ORM hooks. It was currently doing that every
single time poolJobs() was called, leading to
incessant querying the ORM objects for which a
base action rule exist.
Now it will do it only once, and then respect the
scheduled executions.
Soon this mechanism will be removed and replaced
by a proper event handler for some 'ORM finished init'
event, to be fired by the server.
bzr revid: odo@openerp.com-20110624102419-safqqq1hcc5v1tau
Diffstat (limited to 'addons/document/document_data.xml')
0 files changed, 0 insertions, 0 deletions
