From 53a10b8a5fe4c5dc85b0e8654b360d7614c20719 Mon Sep 17 00:00:00 2001 From: oca-git-bot Date: Fri, 14 May 2021 19:30:51 +0200 Subject: [PATCH] [IMP] update dotfiles [ci skip] --- upgrade_analysis/models/upgrade_analysis.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/upgrade_analysis/models/upgrade_analysis.py b/upgrade_analysis/models/upgrade_analysis.py index fcdd48774..43a29a1b2 100644 --- a/upgrade_analysis/models/upgrade_analysis.py +++ b/upgrade_analysis/models/upgrade_analysis.py @@ -12,7 +12,7 @@ from copy import deepcopy from lxml import etree from odoo import fields, models -from odoo.exceptions import UserError, ValidationError +from odoo.exceptions import ValidationError from odoo.modules import get_module_path from odoo.tools import config from odoo.tools.convert import nodeattr2bool @@ -189,7 +189,7 @@ class UpgradeAnalysis(models.Model): ) if "base" in affected_modules: try: - from odoo.addons.openupgrade_scripts import apriori + pass except ImportError: _logger.error( "You are using upgrade_analysis on core modules without "