From 39a0220b5b6cfb5c50c1288458b8a4442f4b0cd8 Mon Sep 17 00:00:00 2001 From: Joan Sisquella Date: Tue, 3 Mar 2020 09:27:10 +0100 Subject: [PATCH] [MIG] report_qr: Migration to 13.0 --- report_qr/__manifest__.py | 4 ++-- report_qr/tests/test_report_qr.py | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/report_qr/__manifest__.py b/report_qr/__manifest__.py index 8c303eac9..6bc678841 100644 --- a/report_qr/__manifest__.py +++ b/report_qr/__manifest__.py @@ -3,9 +3,9 @@ { "name": "Web QR Manager", - "version": "12.0.1.0.0", + "version": "13.0.1.0.0", "author": "Creu Blanca, " "Odoo Community Association (OCA)", - "category": "Sales", + "category": "Reporting", "website": "https://github.com/OCA/reporting-engine", "license": "AGPL-3", "depends": ["web"], diff --git a/report_qr/tests/test_report_qr.py b/report_qr/tests/test_report_qr.py index 637731ac2..fd2543838 100644 --- a/report_qr/tests/test_report_qr.py +++ b/report_qr/tests/test_report_qr.py @@ -13,8 +13,6 @@ class TestReportQr(HttpCase): def test_qr_overflow(self): """There is a QR limitation for 4296 characters, we will test that an Exception is raised""" - new_data = "" - for i in range(0, 1500): - new_data += "TEST" + new_data = "".join(["TEST"] * 1500) with self.assertRaises(Exception): self.env["ir.actions.report"].qr_generate(new_data)