diff --git a/addons/account/static/src/css/account.css b/addons/account/static/src/css/account.css index d08412655e6..a60d7c24788 100644 --- a/addons/account/static/src/css/account.css +++ b/addons/account/static/src/css/account.css @@ -6,7 +6,11 @@ border-radius: 10px; border:2px solid; } - + +.openerp .oe_extended_form_view .oe_form_nosheet { + margin: 2px; +} + .openerp .oe_pager_m2o li { display: inline-block; height: 24px; @@ -23,6 +27,13 @@ display: inline-block !important; } +.openerp .oe_extended_form_view .oe_datepicker_root { + display: inline-block; + min-width: 100px; +} +.openerp .oe_extended_form_view .oe_form_field { + width: auto; +} .openerp .oe_extended_form_view button { margin-right: 10px } diff --git a/addons/account/static/src/js/account.js b/addons/account/static/src/js/account.js index 1eb66035bb3..63671de2b10 100644 --- a/addons/account/static/src/js/account.js +++ b/addons/account/static/src/js/account.js @@ -16,20 +16,23 @@ instance.account.extend_actionmanager = instance.web.ActionManager.include({ }; } if (action.target === 'new') { - if (this.dialog == null) { - this.dialog = new instance.web.Dialog(this, { width: '80%' }); + if (this.dialog === null) { + // These buttons will be overwrited by