[FIX] point_of_sale: remove call to send_current_order_to_customer_facing_display

The said method is no longer present since
45d08db3c4. No need to replace it -- it can just
be removed -- because the customer_display already relies on the reactivity
which automatically recomputes the html when dependencies changed.

Part-of: odoo/odoo#117231
This commit is contained in:
Joseph Caburnay
2023-04-25 14:07:09 +02:00
parent 0424c2f480
commit edab62fe38
@@ -130,9 +130,6 @@ export class ReceiptScreen extends AbstractReceiptScreen {
this._addNewOrder();
const { name, props } = this.nextScreen;
this.pos.showScreen(name, props);
if (this.env.pos.config.iface_customer_facing_display) {
this.env.pos.send_current_order_to_customer_facing_display();
}
}
resumeOrder() {
this.env.pos.removeOrder(this.currentOrder);