[FIX] correctly format result of date picker, otherwise search blows up
bzr revid: xmo@openerp.com-20110401152649-mpjug9jdp4qvap0i
This commit is contained in:
@@ -666,7 +666,9 @@ openerp.base.search.DateField = openerp.base.search.Field.extend(
|
||||
*/
|
||||
start: function () {
|
||||
this._super();
|
||||
this.$element.find('input').datepicker();
|
||||
this.$element.find('input').datepicker({
|
||||
dateFormat: 'yy-mm-dd'
|
||||
});
|
||||
},
|
||||
stop: function () {
|
||||
this.$element.find('input').datepicker('destroy');
|
||||
|
||||
Reference in New Issue
Block a user