Browse Source

[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>.`.
pull/22/head
Lorenzo Battistini 10 years ago
parent
commit
23f95b4881
  1. 4
      web_export_view/controllers.py

4
web_export_view/controllers.py

@ -23,9 +23,9 @@ try:
except ImportError: except ImportError:
import simplejson as json 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): class ExcelExportView(ExcelExport):

Loading…
Cancel
Save