diff --git a/pos_product_label/models/pos_session.py b/pos_product_label/models/pos_session.py index f8850a38c3..a8e9808802 100644 --- a/pos_product_label/models/pos_session.py +++ b/pos_product_label/models/pos_session.py @@ -32,6 +32,7 @@ def print_product_labels(self, data): """ vals = self._prepare_product_label_layout_data(data) wizard = self.env["product.label.layout"].create(vals) + wizard = wizard.with_context(pos_config_id=self.config_id) if data.get("pos_quantity") == "order": wizard = wizard.with_context( force_label_qty_by_product=data.get("order_quantity_by_product", {})