c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #31701
[Bug 842391] Re: Need to reload session after installing addons
*** This bug is a duplicate of bug 809292 ***
https://bugs.launchpad.net/bugs/809292
> Note also that client-side expressions only come at Form loading time, so new
expressions will come with new context, won't they?
That's incorrect. There are a number of actions which use context values
to e.g. setup search views. The Leads view, for instance, can not be
used right after being enabled/installed in the new web client, it will
error out.
--
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
References