Merge lp:~fabien-morin/unifield-web/fm-us-2849 into lp:unifield-web

Proposed by jftempo
Status: Merged
Merged at revision: 4844
Proposed branch: lp:~fabien-morin/unifield-web/fm-us-2849
Merge into: lp:unifield-web
Diff against target: 12 lines (+1/-1)
1 file modified
addons/openerp/widgets/listgroup.py (+1/-1)
To merge this branch: bzr merge lp:~fabien-morin/unifield-web/fm-us-2849
Reviewer Review Type Date Requested Status
UniField Dev Team Pending
Review via email: mp+323482@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'addons/openerp/widgets/listgroup.py'
2--- addons/openerp/widgets/listgroup.py 2017-01-02 14:59:00 +0000
3+++ addons/openerp/widgets/listgroup.py 2017-05-02 07:35:41 +0000
4@@ -117,7 +117,7 @@
5 ch_ids = []
6 if child:
7 rec_dom = rec.get('__domain')
8- dom = [('id', 'in', ids), rec_dom[0]]
9+ dom = [('id', 'in', ids)] + rec_dom
10 ch_ids = [d for id in proxy.search(dom, offset, limit, 0, context)
11 for d in data
12 if int(str(d.get('id'))) == id] # Need to convert in String and then Int.

Subscribers

People subscribed via source and target branches