[FIX] board generate rng compliant board views, colspan height and width are deprecat...
authorAntony Lesuisse <al@openerp.com>
Wed, 8 Feb 2012 01:27:26 +0000 (02:27 +0100)
committerAntony Lesuisse <al@openerp.com>
Wed, 8 Feb 2012 01:27:26 +0000 (02:27 +0100)
lp bug: https://launchpad.net/bugs/914266 fixed

bzr revid: al@openerp.com-20120208012726-9mqxajv2luzmrff6

addons/board/board.py

index c63013a..61ade12 100644 (file)
@@ -43,11 +43,7 @@ class board_board(osv.osv):
         right = []
         #start Loop
         for line in board.line_ids:
-            linestr = '<action string="%s" name="%d" colspan="4"' % (line.name, line.action_id.id)
-            if line.height:
-                linestr += (' height="%d"' % (line.height, ))
-            if line.width:
-                linestr += (' width="%d"' % (line.width, ))
+            linestr = '<action string="%s" name="%d"' % (line.name, line.action_id.id)
             linestr += '/>'
             if line.position == 'left':
                 left.append(linestr)