Browse Source

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

[MIG] Migration of report_xlsx to 10.0
pull/94/head
Adrien Peiffer (ACSONE) 8 years ago
committed by Pedro M. Baeza
parent
commit
59875c9d27
  1. 12
      report_xlsx/README.rst
  2. 8
      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 :: 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): class PartnerXlsx(ReportXlsx):
@ -55,15 +55,15 @@ A report XML record ::
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot :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 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 Credits
======= =======

8
report_xlsx/__manifest__.py

@ -10,13 +10,11 @@
'Odoo Community Association (OCA)', 'Odoo Community Association (OCA)',
'website': "http://acsone.eu", 'website': "http://acsone.eu",
'category': 'Reporting', 'category': 'Reporting',
'version': '9.0.1.0.0',
'version': '10.0.1.0.0',
'license': 'AGPL-3', 'license': 'AGPL-3',
'external_dependencies': {'python': ['xlsxwriter'],
'installable': False,
},
'external_dependencies': {'python': ['xlsxwriter']},
'depends': [ 'depends': [
'base', 'base',
], ],
'installable': False,
'installable': True,
} }

2
report_xlsx/models/ir_report.py

@ -2,7 +2,7 @@
# Copyright 2015 ACSONE SA/NV (<http://acsone.eu>) # Copyright 2015 ACSONE SA/NV (<http://acsone.eu>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). # 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): class IrActionsReportXml(models.Model):

4
report_xlsx/report/report_xlsx.py

@ -4,8 +4,8 @@
from cStringIO import StringIO 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 import logging
_logger = logging.getLogger(__name__) _logger = logging.getLogger(__name__)

Loading…
Cancel
Save