We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c456a25 commit 6c68f7aCopy full SHA for 6c68f7a
server/core/odoo.py
@@ -406,7 +406,7 @@ def get_loaded_part_tree(self, path):
406
# (odoo/addons/test/models, "test.py"). the first element is a symbol. return None, None if not in the project
407
addonSymbol = self.symbols.get_symbol(["odoo", "addons"])
408
if not addonSymbol:
409
- return ()
+ return None, None
410
symbol = addonSymbol
411
for dir_path in [self.instance.odooPath] + addonSymbol.paths:
412
if path.startswith(dir_path):
0 commit comments