[MIG] report_qr: Migration to 13.0

pull/585/head
Joan Sisquella 2020-03-03 09:27:10 +01:00 committed by Jasmin Solanki
parent bd4de6241d
commit 0bfe51daa6
2 changed files with 3 additions and 5 deletions

View File

@ -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"],

View File

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