Merge lp:~syleam/openobject-client/trunk-fix-tree-order-sequence into lp:~openerp/openobject-client/old_trunk

Proposed by Christophe CHAUVET
Status: Needs review
Proposed branch: lp:~syleam/openobject-client/trunk-fix-tree-order-sequence
Merge into: lp:~openerp/openobject-client/old_trunk
Diff against target: None lines
To merge this branch: bzr merge lp:~syleam/openobject-client/trunk-fix-tree-order-sequence
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+5436@code.launchpad.net
To post a comment you must log in.

Unmerged revisions

962. By Christophe CHAUVET

[FIX]
 * When object contain a sequence field on tree view, click on column doesn't reorder it

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'bin/widget/view/tree_gtk/parser.py'
--- bin/widget/view/tree_gtk/parser.py 2009-04-01 10:02:37 +0000
+++ bin/widget/view/tree_gtk/parser.py 2009-04-10 16:55:08 +0000
@@ -149,8 +149,8 @@
149 else:149 else:
150 width = twidth.get(fields[fname]['type'], 100)150 width = twidth.get(fields[fname]['type'], 100)
151 col.set_min_width(width)151 col.set_min_width(width)
152 if not treeview.sequence:152 #if not treeview.sequence:
153 col.connect('clicked', sort_model, treeview)153 col.connect('clicked', sort_model, treeview)
154 col.set_resizable(True)154 col.set_resizable(True)
155 #col.set_sizing(gtk.TREE_VIEW_COLUMN_FIXED)155 #col.set_sizing(gtk.TREE_VIEW_COLUMN_FIXED)
156 visval = eval(fields[fname].get('invisible', 'False'), {'context':self.screen.context})156 visval = eval(fields[fname].get('invisible', 'False'), {'context':self.screen.context})

Subscribers

People subscribed via source and target branches