You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let dependencies = symbol_rc.borrow().as_module_package().depends.clone();
298
+
for(depend, range)in dependencies.iter(){
298
299
//TODO: raise an error on dependency cycle
299
300
if !session.sync_odoo.modules.contains_key(depend){
301
+
letmut symbol = symbol_rc.borrow_mut();
300
302
let module = find_module(session, odoo_addons.clone(), depend);
301
303
if module.is_none(){
302
304
symbol.get_entry().unwrap().borrow_mut().not_found_symbols.insert(symbol.weak_self().as_ref().unwrap().upgrade().expect("The symbol must be in the tree"));
@@ -317,9 +319,18 @@ impl ModuleSymbol {
317
319
}else{
318
320
let module = session.sync_odoo.modules.get(depend).unwrap().upgrade().unwrap();
0 commit comments