[MIG] report_qr: Migration to 13.0
parent
bd4de6241d
commit
0bfe51daa6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue