[IMP] stock: do not open reserve/unreserve action in new breadcrumb
Before this commit: when reserve/unreserve button were clicked, it was opening action in new breadcrumb while it should not open new breadcrumb instead it should display in self. After this commit: reserve/unreserve button will open action and replace current action and will not open new breadcrumb everytime we click. task-2581265 Part-of: odoo/odoo#74695
This commit is contained in:
@@ -195,7 +195,7 @@ const ReplenishReport = clientAction.extend({
|
||||
active_id: this.productId,
|
||||
active_model: this.resModel,
|
||||
}, this.context, additionnalContext);
|
||||
return this.do_action(action, {replace_last_action: true});
|
||||
return this.do_action(action, { stackPosition: 'replaceCurrentAction' });
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user