Browse Source
[MIG] Migration of report_xlsx to 10.0 (#76)
[MIG] Migration of report_xlsx to 10.0
pull/171/head
Adrien Peiffer (ACSONE)
8 years ago
committed by
Enric Tobella
No known key found for this signature in database
GPG Key ID: 1A2546A1B7BA2451
4 changed files with
12 additions and
14 deletions
-
report_xlsx/README.rst
-
report_xlsx/__manifest__.py
-
report_xlsx/models/ir_report.py
-
report_xlsx/report/report_xlsx.py
|
|
@ -22,7 +22,7 @@ An example of XLSX report for partners: |
|
|
|
|
|
|
|
A python class :: |
|
|
|
|
|
|
|
from openerp.addons.report_xlsx.report.report_xlsx import ReportXlsx |
|
|
|
from odoo.addons.report_xlsx.report.report_xlsx import ReportXlsx |
|
|
|
|
|
|
|
class PartnerXlsx(ReportXlsx): |
|
|
|
|
|
|
@ -55,15 +55,15 @@ A report XML record :: |
|
|
|
|
|
|
|
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas |
|
|
|
:alt: Try me on Runbot |
|
|
|
:target: https://runbot.odoo-community.org/runbot/143/9.0 |
|
|
|
:target: https://runbot.odoo-community.org/runbot/143/10.0 |
|
|
|
|
|
|
|
Bug Tracker |
|
|
|
=========== |
|
|
|
|
|
|
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/reporting-engine/issues>`_. |
|
|
|
In case of trouble, please check there if your issue has already been reported. |
|
|
|
If you spotted it first, help us smashing it by providing a detailed and welcomed feedback |
|
|
|
`here <https://github.com/OCA/reporting-engine/issues/new?body=module:%20report_xlsx%0Aversion:%209.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. |
|
|
|
Bugs are tracked on `GitHub Issues |
|
|
|
<https://github.com/OCA/reporting-engine/issues>`_. In case of trouble, please |
|
|
|
check there if your issue has already been reported. If you spotted it first, |
|
|
|
help us smashing it by providing a detailed and welcomed feedback. |
|
|
|
|
|
|
|
Credits |
|
|
|
======= |
|
|
|
|
|
@ -10,13 +10,11 @@ |
|
|
|
'Odoo Community Association (OCA)', |
|
|
|
'website': "http://acsone.eu", |
|
|
|
'category': 'Reporting', |
|
|
|
'version': '9.0.1.0.0', |
|
|
|
'version': '10.0.1.0.0', |
|
|
|
'license': 'AGPL-3', |
|
|
|
'external_dependencies': {'python': ['xlsxwriter'], |
|
|
|
'installable': False, |
|
|
|
}, |
|
|
|
'external_dependencies': {'python': ['xlsxwriter']}, |
|
|
|
'depends': [ |
|
|
|
'base', |
|
|
|
], |
|
|
|
'installable': False, |
|
|
|
'installable': True, |
|
|
|
} |
|
|
@ -2,7 +2,7 @@ |
|
|
|
# Copyright 2015 ACSONE SA/NV (<http://acsone.eu>) |
|
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
|
|
|
|
|
|
|
from openerp import fields, models |
|
|
|
from odoo import fields, models |
|
|
|
|
|
|
|
|
|
|
|
class IrActionsReportXml(models.Model): |
|
|
|
|
|
@ -4,8 +4,8 @@ |
|
|
|
|
|
|
|
from cStringIO import StringIO |
|
|
|
|
|
|
|
from openerp.report.report_sxw import report_sxw |
|
|
|
from openerp.api import Environment |
|
|
|
from odoo.report.report_sxw import report_sxw |
|
|
|
from odoo.api import Environment |
|
|
|
|
|
|
|
import logging |
|
|
|
_logger = logging.getLogger(__name__) |
|
|
|