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 6350666 commit 23010d6Copy full SHA for 23010d6
server/core/odoo.py
@@ -572,11 +572,14 @@ def _search_symbols_to_rebuild(self, tree):
572
new_dict_to_revalidate = defaultdict(lambda: RegisteredRefSet())
573
found_symbols = RegisteredRefSet()
574
for s in self.not_found_symbols:
575
- for index in range(len(s.not_found_paths)):
+ index = 0
576
+ while index < len(s.not_found_paths):
577
step, not_found_tree = s.not_found_paths[index]
578
if flat_tree[:len(not_found_tree)] == not_found_tree[:len(flat_tree)]:
579
new_dict_to_revalidate[step].add(s)
580
del s.not_found_paths[index]
581
+ index -= 1
582
+ index += 1
583
if not s.not_found_paths:
584
found_symbols.add(s)
585
self.not_found_symbols -= found_symbols
0 commit comments