[FIX] correctly format result of date picker, otherwise search blows up
bzr revid: xmo@openerp.com-20110401152649-mpjug9jdp4qvap0i
This commit is contained in:
parent
ac649d5ccc
commit
b42333b86f
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue