Before this PR, after having imported a module, a warning appears in the log, because it tries to update the graph which does not make sense for an imported module. This commit makes sure the warning is skipped if the module was imported. closes odoo/odoo#155096 Signed-off-by: Christophe Simonis (chs) <chs@odoo.com>