[MERGE] from trunk
bzr revid: chm@openerp.com-20121219144055-up3kamlh08nbk1ju
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user