diff --git a/addons/point_of_sale/static/src/js/Popups/ClosePosPopup.js b/addons/point_of_sale/static/src/js/Popups/ClosePosPopup.js index c86aef2683f..4efdf008f5a 100644 --- a/addons/point_of_sale/static/src/js/Popups/ClosePosPopup.js +++ b/addons/point_of_sale/static/src/js/Popups/ClosePosPopup.js @@ -130,6 +130,7 @@ odoo.define('point_of_sale.ClosePosPopup', function(require) { model: 'pos.session', method: 'close_session_from_ui', args: [this.env.pos.pos_session.id, bankPaymentMethodDiffPairs], + context: this.env.session.user_context, }); if (!response.successful) { return this.handleClosingError(response);