Skip to content
Snippets Groups Projects
Commit 816b4979 authored by Antony Lesuisse's avatar Antony Lesuisse
Browse files

[FIX] board generate rng compliant board views, colspan height and width are deprecated on action

lp bug: https://launchpad.net/bugs/914266 fixed

bzr revid: al@openerp.com-20120208012726-9mqxajv2luzmrff6
parent 0a63ecb0
Branches
Tags
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment