Javascript files always loaded if a module is auto_install even when dependencies are unmet
Bug #1060154 reported by
Guewen Baconnier @ Camptocamp
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
The web framework always loads the static files of modules (javascript etc) when the ``auto_install`` key is ``True``.
That's not accurate when the ``depends`` has some dependencies, the static files have to be loaded only if all the dependencies are satisfied.
That's the normal behavior, an ``auto_install`` module is only "auto installable" when all the dependencies are satisfied.
This issue has probably to do with Session.modules in controller/main.py [1]
[1] load modules: http://
Thanks
Guewen
summary: |
- Javascript files always loaded even if a module is auto_install and + Javascript files always loaded if a module is auto_install even when dependencies are unmet |
To post a comment you must log in.