diff --git a/addons/hr_holidays/views/hr_leave_allocation_views.xml b/addons/hr_holidays/views/hr_leave_allocation_views.xml index f2b0a96bee7..2ce8440115b 100644 --- a/addons/hr_holidays/views/hr_leave_allocation_views.xml +++ b/addons/hr_holidays/views/hr_leave_allocation_views.xml @@ -73,22 +73,6 @@
-

diff --git a/addons/web/static/src/views/form/form_compiler.js b/addons/web/static/src/views/form/form_compiler.js index bd1fd9b72e5..4fdf9e3236c 100644 --- a/addons/web/static/src/views/form/form_compiler.js +++ b/addons/web/static/src/views/form/form_compiler.js @@ -166,7 +166,7 @@ export class FormCompiler extends ViewCompiler { append(buttonBox, mainSlot); } - return hasContent ? buttonBox : null; + return hasContent ? buttonBox : ''; } compileButton(el, params) {