Commit 967b66b
committed
[FIX] server: avoid crash on model not in a module
If a model is not declared in a valid odoo module, the code is actually crashing.
This commit prevent it and return the symbol even if the dependencies are not valid, as it can't be evaluated.
This is not a really nice case, but having a model declaration outside of a module is not really somthing that should happen1 parent 643d4db commit 967b66b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
0 commit comments