mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[MIG 10.0] web_export_view (#444)
This commit is contained in:
committed by
Pedro M. Baeza
parent
66af04f833
commit
be736df3ad
@@ -1,21 +1,3 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# Copyright (C) 2012 Agile Business Group sagl (<http://www.agilebg.com>)
|
||||
# Copyright (C) 2012 Domsense srl (<http://www.domsense.com>)
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
from . import controllers
|
||||
|
||||
@@ -1,32 +1,14 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# Copyright (C) 2012 Domsense srl (<http://www.domsense.com>)
|
||||
# Copyright (C) 2012-2013:
|
||||
# Agile Business Group sagl (<http://www.agilebg.com>)
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as published
|
||||
# by the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
try:
|
||||
import json
|
||||
except ImportError:
|
||||
import simplejson as json
|
||||
# Copyright 2016 Henry Zhou (http://www.maxodoo.com)
|
||||
# Copyright 2016 Rodney (http://clearcorp.cr/)
|
||||
# Copyright 2012 Agile Business Group
|
||||
# Copyright 2012 Therp BV
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
|
||||
import openerp.http as http
|
||||
from openerp.http import request
|
||||
from openerp.addons.web.controllers.main import ExcelExport
|
||||
import json
|
||||
import odoo.http as http
|
||||
from odoo.http import request
|
||||
from odoo.addons.web.controllers.main import ExcelExport
|
||||
|
||||
|
||||
class ExcelExportView(ExcelExport):
|
||||
|
||||
Reference in New Issue
Block a user