~openerp-dev/openobject-addons/6.1-opw-579908-msh

« back to all changes in this revision

Viewing changes to board/board.py

  • Committer: Antony Lesuisse
  • Date: 2012-02-08 01:27:26 UTC
  • Revision ID: al@openerp.com-20120208012726-9mqxajv2luzmrff6
[FIX] board generate rng compliant board views, colspan height and width are deprecated on action

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
        right = []
44
44
        #start Loop
45
45
        for line in board.line_ids:
46
 
            linestr = '<action string="%s" name="%d" colspan="4"' % (line.name, line.action_id.id)
47
 
            if line.height:
48
 
                linestr += (' height="%d"' % (line.height, ))
49
 
            if line.width:
50
 
                linestr += (' width="%d"' % (line.width, ))
 
46
            linestr = '<action string="%s" name="%d"' % (line.name, line.action_id.id)
51
47
            linestr += '/>'
52
48
            if line.position == 'left':
53
49
                left.append(linestr)