Custom Filter condition "in", "not in" don't remove whitespace
Bug #749574 reported by
Paulius Sladkevičius @ hbee
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo GTK Client (MOVED TO GITHUB) |
Fix Committed
|
Low
|
xrg |
Bug Description
GTK client v5.0.15
I see some usability problems in "in" and "not in" filter condition's. When I wanted add custom filter condition for the modules list, "name in project, sale" I got only project module in filtered list. Only when I looked to gtk code I saw that nobody remove spaces, so the query goes like ['project', ' sale']. So lets add replace(' ',''), before strip and and nobody don't bother with whitespace.
p.s. I think it is same with the web client.
Related branches
lp://staging/~openerp-dev/openobject-client/6.0-bug-749574-xrg
Ready for review
for merging
into
lp://staging/openobject-client/6.0
- OpenERP Core Team: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedbin/widget_search/custom_filter.py (+1/-1)
Changed in openobject-client: | |
status: | New → Fix Committed |
Changed in openobject-client: | |
assignee: | nobody → xrg (xrg) |
importance: | Undecided → Low |
To post a comment you must log in.