Bhumi Thakkar (Open ERP) has proposed merging 
lp:~openerp-dev/openerp-web/6.1-opw-575959-bth into lp:openerp-web/6.1.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/6.1-opw-575959-bth/+merge/111016

Hello,

   Advanced filter on empty fields.

1. Sales => Leads 
2. Select Add Advanced Filters from Filter Selection box at right side.
3. Select character/text type fields, operator is equal to and not enter any 
value in text box.

Observed: "domain passed '' instead of false/null."
Expected: "domain passed false/null."

if text box contain any value then rerun that value else false 'return 
this.$element.val() || false;'.

Thanks.
-- 
https://code.launchpad.net/~openerp-dev/openerp-web/6.1-opw-575959-bth/+merge/111016
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openerp-web/6.1-opw-575959-bth.
=== modified file 'addons/web/static/src/js/search.js'
--- addons/web/static/src/js/search.js	2012-06-05 05:54:15 +0000
+++ addons/web/static/src/js/search.js	2012-06-19 13:33:33 +0000
@@ -1322,7 +1322,7 @@
         {value: "<=", text: _lt("less or equal than")}
     ],
     get_value: function() {
-        return this.$element.val();
+        return this.$element.val() || false;
     }
 });
 openerp.web.search.ExtendedSearchProposition.DateTime = openerp.web.search.ExtendedSearchProposition.Field.extend({

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to