[FIX] Ambiguous import

WARNING ? openerp.modules.module:
Ambiguous import: the OpenERP module `web` is shadowed by another
module (available at /home/elbati/workspace/openerp/progetti/siem/git/siem/parts/odoo/addons/web).
To import it, use `import openerp.addons.<module>.`.
This commit is contained in:
Lorenzo Battistini
2014-07-22 16:49:15 +02:00
parent e597767a51
commit 23f95b4881

View File

@@ -23,9 +23,9 @@ try:
except ImportError:
import simplejson as json
import web.http as openerpweb
from openerp.addons.web import http as openerpweb
from web.controllers.main import ExcelExport
from openerp.addons.web.controllers.main import ExcelExport
class ExcelExportView(ExcelExport):