Browse Source

[MIG] Migration of report_xlsx to 10.0 (#76)

14.0
Adrien Peiffer (ACSONE) 8 years ago
committed by Alex Cuellar
parent
commit
df8d887011
  1. 12
      report_xlsx/README.rst
  2. 3
      report_xlsx/__manifest__.py
  3. 2
      report_xlsx/models/ir_report.py
  4. 4
      report_xlsx/report/report_xlsx.py

12
report_xlsx/README.rst

@ -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
=======

3
report_xlsx/__openerp__.py → report_xlsx/__manifest__.py

@ -10,10 +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']},
'depends': [
'base',
],
'installable': True,
}

2
report_xlsx/models/ir_report.py

@ -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
report_xlsx/report/report_xlsx.py

@ -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__)

Loading…
Cancel
Save