[FIX] All OpenERP RML Reports are enabled with transparent Image support.

bzr revid: tta@openerp.com-20121218115043-1yx5b2q7eqcf8xbx
This commit is contained in:
Tejas Tank 2012-12-18 17:20:43 +05:30
parent d98b1b0ff5
commit ffae4652de
1 changed files with 1 additions and 1 deletions

View File

@ -493,7 +493,7 @@ class _rml_canvas(object):
img = ImageReader(s)
(sx,sy) = img.getSize()
_logger.debug("Image is %dx%d", sx, sy)
args = { 'x': 0.0, 'y': 0.0 }
args = { 'x': 0.0, 'y': 0.0, 'mask': 'auto'}
for tag in ('width','height','x','y'):
if node.get(tag):
args[tag] = utils.unit_get(node.get(tag))