From 16dece86b1023d0b494a2fe7e84dc820fba70fe0 Mon Sep 17 00:00:00 2001 From: Raphael Collet Date: Tue, 9 Aug 2016 11:00:54 +0200 Subject: [MIG] openerp.report: convert to the new API --- openerp/report/render/html2html/html2html.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'openerp/report/render/html2html/html2html.py') diff --git a/openerp/report/render/html2html/html2html.py b/openerp/report/render/html2html/html2html.py index 8f1156fc4ef..b66d44a5a5f 100644 --- a/openerp/report/render/html2html/html2html.py +++ b/openerp/report/render/html2html/html2html.py @@ -1,13 +1,15 @@ # -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. -from openerp.report.render.rml2pdf import utils -import copy import base64 +import copy import cStringIO import re + from reportlab.lib.utils import ImageReader +from openerp.report.render.rml2pdf import utils + _regex = re.compile('\[\[(.+?)\]\]') utils._regex = re.compile('\[\[\s*(.+?)\s*\]\]',re.DOTALL) class html2html(object): -- cgit v1.2.3