mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[MIG] report_qr: Migration to 13.0
This commit is contained in:
committed by
Kiplangat Dan
parent
ba66252734
commit
39a0220b5b
@@ -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"],
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user