[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:
@@ -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);
|
||||
},
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user