Merge lp:~openerp/openobject-client-web/trunk-bug-filters-niv into lp:openobject-client-web/trunk
Proposed by
Nicolas Vanhoren (OpenERP)
Status: | Superseded |
---|---|
Proposed branch: | lp:~openerp/openobject-client-web/trunk-bug-filters-niv |
Merge into: | lp:openobject-client-web/trunk |
Diff against target: |
301 lines (+157/-116) 2 files modified
addons/openerp/controllers/search.py (+2/-1) addons/openerp/static/javascript/search.js (+155/-115) |
To merge this branch: | bzr merge lp:~openerp/openobject-client-web/trunk-bug-filters-niv |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Xavier (Open ERP) (community) | Needs Fixing | ||
Review via email: mp+52688@code.launchpad.net |
Description of the change
Fixed incorrect merge. Restored a previous patch that fixed problems with booleans (+ some other types) in custom filters.
To post a comment you must log in.
Unmerged revisions
- 4608. By Nicolas Vanhoren (OpenERP)
-
Fixed incorrect merge in 4445 that overrided some files. Restored previous fix with custom filters.
------------- This line and the following will be ignored --------------
modified:
addons/openerp/ controllers/ search. py
addons/openerp/ static/ javascript/ search. js
unknown:
openerp/
tmp.diff
addons/web_livechat/
addons/openerp/ static/ javascript/ search. .bak.js
* Don't revert the parsing to simplejson, the data received is not necessarily in JS, because they can come from e.g. switch_SearchView which throws raw Python datastructures in there so filters are breaking when e.g. switching to Form view then back to List
* The else branch within the ilike/not ilike case is not correct, '%' is added by the server and adding it in JS breaks the custom filters when switching back from other views (or saving)
* Is it really necessary to revert the whole revision instead of just the fields handling? Do you know why they were originally removed?