← Back to team overview

openerp-community team mailing list archive

lp:~openerp-community/openobject-client-web/ronald@therp.nl_lp768918-6.0 into lp:openobject-client-web

 

Ronald Portier has proposed merging lp:~openerp-community/openobject-client-web/ronald@therp.nl_lp768918-6.0 into lp:openobject-client-web.

Requested reviews:
  OpenERP SA's Web Client R&D (openerp-dev-web)
Related bugs:
  Bug #768918 in OpenERP Web Client: "error in evaluating view domain"
  https://bugs.launchpad.net/openobject-client-web/+bug/768918

For more details, see:
https://code.launchpad.net/~openerp-community/openobject-client-web/ronald@therp.nl_lp768918-6.0/+merge/58800
-- 
https://code.launchpad.net/~openerp-community/openobject-client-web/ronald@therp.nl_lp768918-6.0/+merge/58800
Your team OpenERP Community is subscribed to branch lp:~openerp-community/openobject-client-web/ronald@therp.nl_lp768918-6.0.
=== modified file 'addons/openerp/utils/tools.py'
--- addons/openerp/utils/tools.py	2011-03-02 15:05:11 +0000
+++ addons/openerp/utils/tools.py	2011-04-22 11:57:51 +0000
@@ -48,6 +48,7 @@
                    datetime=datetime,
                    relativedelta=relativedelta)
     if isinstance(string, basestring):
+        string = string.strip()
         try:
             value = eval(string, context)
         except: