openerp-dev-web team mailing list archive
-
openerp-dev-web team
-
Mailing list archive
-
Message #05329
[Merge] lp:~openerp-dev/openobject-client/6.0-bug-749574-xrg into lp:openobject-client/6.0
xrg has proposed merging lp:~openerp-dev/openobject-client/6.0-bug-749574-xrg into lp:openobject-client/6.0.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
Bug #749574 in OpenERP GTK Client: "Custom Filter condition "in", "not in" don't remove whitespace"
https://bugs.launchpad.net/openobject-client/+bug/749574
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-client/6.0-bug-749574-xrg/+merge/57146
--
https://code.launchpad.net/~openerp-dev/openobject-client/6.0-bug-749574-xrg/+merge/57146
Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-client/6.0-bug-749574-xrg.
=== modified file 'bin/widget_search/custom_filter.py'
--- bin/widget_search/custom_filter.py 2011-01-25 10:58:55 +0000
+++ bin/widget_search/custom_filter.py 2011-04-11 11:52:46 +0000
@@ -131,7 +131,7 @@
operator = '='
if operator in ['in','not in']:
- right_text = right_text.split(',')
+ right_text = map(str.strip, right_text.split(','))
# Cannot use the active_text as it will be translated!
# So as a workaround we use the index: 0 == AND, 1 == OR