openerp-dev-web team mailing list archive
-
openerp-dev-web team
-
Mailing list archive
-
Message #05290
[Merge] lp:~openerp-dev/openobject-client-web/6.0-opw-5144-sma into lp:openobject-client-web/6.0
Sananaz (Open ERP) has proposed merging lp:~openerp-dev/openobject-client-web/6.0-opw-5144-sma into lp:openobject-client-web/6.0.
Requested reviews:
OpenERP Core Team (openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-client-web/6.0-opw-5144-sma/+merge/57110
Hello,
Please check with the change date formate at Administration > Translations > Languages
Date Formate change with the
%m/--%d/%Y
Then go to Sales > Leads > Extended Filters... Add Creation Date and Closed dates then search it gives traceback
Thanks.
--
https://code.launchpad.net/~openerp-dev/openobject-client-web/6.0-opw-5144-sma/+merge/57110
Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-client-web/6.0-opw-5144-sma.
=== modified file 'addons/openerp/controllers/search.py'
--- addons/openerp/controllers/search.py 2011-03-22 07:56:34 +0000
+++ addons/openerp/controllers/search.py 2011-04-11 05:58:30 +0000
@@ -303,8 +303,9 @@
if bound == 'from': test = '>='
else: test = '<='
- domain.append((fieldname, test, value))
- search_data.setdefault(fieldname, {})[bound] = value
+ convert_format = openobject.i18n.format.convert_date_format_in_domain([(fieldname, test, value)], res, context)
+ domain.append(convert_format[0])
+ search_data.setdefault(fieldname, {})[bound] = convert_format[0][2]
elif isinstance(value, bool) and value:
search_data[field] = 1
Follow ups