← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 842391] [NEW] Need to reload session after installing addons

 

Public bug reported:

There's a long-standing problem in OpenERP: modules can (and do) add
data to the user session context. As a result, right after installing
some modules (especially the initial setup) OpenERP is debatably useable
in that it will regularly pop up complaints about missing context keys
(e.g. the leads search view uses `section_id`, which is installed by
`crm`).

The GTK client and the old web client "solve" this issue by ignoring it
altogether and returning an empty context (empty dict) when an
evaluation fails (whether it's the evaluation of a domain, a context, or
an arbitrary python expression). I don't think that's a solution.

** Affects: openerp-web
     Importance: Undecided
         Status: New

-- 
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/842391

Title:
  Need to reload session after installing addons

Status in OpenERP Web:
  New

Bug description:
  There's a long-standing problem in OpenERP: modules can (and do) add
  data to the user session context. As a result, right after installing
  some modules (especially the initial setup) OpenERP is debatably
  useable in that it will regularly pop up complaints about missing
  context keys (e.g. the leads search view uses `section_id`, which is
  installed by `crm`).

  The GTK client and the old web client "solve" this issue by ignoring
  it altogether and returning an empty context (empty dict) when an
  evaluation fails (whether it's the evaluation of a domain, a context,
  or an arbitrary python expression). I don't think that's a solution.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/842391/+subscriptions


Follow ups

References