diff --git a/src/sao.less b/src/sao.less index c4e1355fa0..7951a39fc0 100644 --- a/src/sao.less +++ b/src/sao.less @@ -104,7 +104,7 @@ body { text-align: right; white-space: nowrap; } - & .form-many2one { + & .form-many2one, .form-date, .form-binary, .form-reference { & button { float: right; } @@ -115,6 +115,9 @@ body { boxing-sizing: border-box; } } + & select, span { + float: left; + } } & .form-one2many-menu, .form-one2many-content, .form-many2many-menu, .form-many2many-content { diff --git a/src/view.js b/src/view.js index d7a86732d2..b859b1a4dd 100644 --- a/src/view.js +++ b/src/view.js @@ -1398,12 +1398,21 @@ this.date = jQuery('', { 'type': 'input' }); - this.el.append(this.date); + this.el.append(jQuery('
').append(this.date)); this.date.datepicker({ - showOn: 'button' + showOn: 'none' }); this.date.change(this.focus_out.bind(this)); - this._set_button(); + this.button = jQuery('