Merge lp:~openerp-dev/openobject-client/trunk-bug-903553-amp into lp:openobject-client

Proposed by Amit Parik
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-client/trunk-bug-903553-amp
Merge into: lp:openobject-client
Diff against target: 12 lines (+1/-1)
1 file modified
bin/widget/view/form.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-client/trunk-bug-903553-amp
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+105550@code.launchpad.net

Description of the change

Hello,

Wrong patch for submenu, This fixes will solved this issue.

Thanks!

To post a comment you must log in.

Unmerged revisions

2060. By Cristian

[FIX] Icon : Fixes the wrong icon path

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bin/widget/view/form.py'
2--- bin/widget/view/form.py 2011-10-20 06:00:32 +0000
3+++ bin/widget/view/form.py 2012-05-12 11:13:19 +0000
4@@ -112,7 +112,7 @@
5 for sub in eval(submenu):
6 sbutton = gtk.Button()
7 icon = gtk.Image()
8- file_path = os.path.realpath("icons")
9+ file_path = os.path.realpath("bin/icons")
10 iname = sub.get('icon', 'terp-marketing').split('-')[1]
11 pixbuf = gtk.gdk.pixbuf_new_from_file(file_path + '/' + iname + '.png')
12 icon_set = gtk.IconSet(pixbuf)