[FIX] stock: start/continue inventory

Related to 18e5416636

Due to changes made into the related commit, the buttons to start or
continue an inventory adjustment no more work.

closes odoo/odoo#47795

Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
This commit is contained in:
svs-odoo
2020-03-19 08:01:30 +00:00
parent d3c6e1fbc2
commit 96486de1c1
@@ -27,10 +27,10 @@ var InventoryValidationController = ListController.extend({
/**
* @override
*/
renderButtons: function ($node) {
renderButtons: function () {
this._super.apply(this, arguments);
var $validationButton = $(qweb.render('InventoryLines.Buttons'));
$validationButton.prependTo($node.find('.o_list_buttons'));
this.$buttons.prepend($validationButton);
},
// -------------------------------------------------------------------------