mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user