Commit 39e1b8b
committed
[FIX] util/modules: trigger autodiscovery outside major upgrade
Outside a major upgrade `base` is already fully loaded. New modules are
yet not known for the ORM. We thus need to trigger the discovery.
During a major upgrade we also want to block force installing modules
outside `base` pre/post.
closes #333
Signed-off-by: Christophe Simonis (chs) <chs@odoo.com>
Co-authored-by: maji@odoo.com
Co-authored-by: chs@odoo.com1 parent 90f75e6 commit 39e1b8b
File tree
2 files changed
+13
-0
lines changed- src
- base/0.0.0
- util
2 files changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
| |||
553 | 555 | | |
554 | 556 | | |
555 | 557 | | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
556 | 566 | | |
557 | 567 | | |
558 | 568 | | |
| |||
995 | 1005 | | |
996 | 1006 | | |
997 | 1007 | | |
| 1008 | + | |
| 1009 | + | |
998 | 1010 | | |
999 | 1011 | | |
1000 | 1012 | | |
| |||
0 commit comments