[MERGE] from trunk

bzr revid: chm@openerp.com-20121219144055-up3kamlh08nbk1ju
This commit is contained in:
Christophe Matthieu
2012-12-19 15:40:55 +01:00
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -299,8 +299,7 @@ class res_users(osv.osv):
for id in ids:
if id in self._uid_cache[db]:
del self._uid_cache[db][id]
self.context_get.clear_cache(self, cr)
self.context_get.clear_cache(self)
return res
def unlink(self, cr, uid, ids, context=None):
+1 -1
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))