Browse Source

[ADD] [V14.0] account_move_line_report_xls forward port to V14

pull/786/head
Pieter Paulussen 3 years ago
parent
commit
7b4d68049a
  1. 4
      account_move_line_report_xls/__manifest__.py
  2. 2
      account_move_line_report_xls/models/account_move_line.py
  3. 2
      account_move_line_report_xls/report/account_move_line_xlsx.py
  4. 4
      account_move_line_report_xls/tests/test_aml_report_xlsx.py

4
account_move_line_report_xls/__manifest__.py

@ -1,9 +1,9 @@
# Copyright 2009-2020 Noviat.
# Copyright 2009-2021 Noviat.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Account Move Line XLSX export",
"version": "13.0.1.0.0",
"version": "14.0.1.0.0",
"license": "AGPL-3",
"author": "Noviat, Odoo Community Association (OCA)",
"category": "Accounting & Finance",

2
account_move_line_report_xls/models/account_move_line.py

@ -1,4 +1,4 @@
# Copyright 2009-2020 Noviat.
# Copyright 2009-2021 Noviat.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import api, models

2
account_move_line_report_xls/report/account_move_line_xlsx.py

@ -1,4 +1,4 @@
# Copyright 2009-2020 Noviat
# Copyright 2009-2021 Noviat
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
import logging

4
account_move_line_report_xls/tests/test_aml_report_xlsx.py

@ -1,4 +1,4 @@
# Copyright 2009-2020 Noviat.
# Copyright 2009-2021 Noviat.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo.tests.common import TransactionCase
@ -28,5 +28,5 @@ class TestAmlReportXlsx(TransactionCase):
self.amls = am.line_ids
def test_aml_report_xlsx(self):
report_xls = self.report.render_xlsx(self.amls.ids, None)
report_xls = self.report._render_xlsx(self.amls.ids, None)
self.assertEqual(report_xls[1], "xlsx")
Loading…
Cancel
Save