From 704c45abaa548d60def2a3658c25cdfd35b7a73d Mon Sep 17 00:00:00 2001 From: David Moreno Date: Thu, 31 Aug 2023 11:49:37 +0200 Subject: [PATCH] [IMP] Apply black formatting --- pos_event_sale/models/event_mail.py | 4 +++- pos_event_sale/static/src/js/models/PosGlobalState.js | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pos_event_sale/models/event_mail.py b/pos_event_sale/models/event_mail.py index c3ec7f2d71..4b56d651b8 100644 --- a/pos_event_sale/models/event_mail.py +++ b/pos_event_sale/models/event_mail.py @@ -17,4 +17,6 @@ def _create_missing_mail_registrations(self, registrations): This way we also prevent long delays in the POS, at the time of the order validation. """ - return super()._create_missing_mail_registrations(registrations.filtered('email')) + return super()._create_missing_mail_registrations( + registrations.filtered("email") + ) diff --git a/pos_event_sale/static/src/js/models/PosGlobalState.js b/pos_event_sale/static/src/js/models/PosGlobalState.js index 641cd15250..3136574a8a 100644 --- a/pos_event_sale/static/src/js/models/PosGlobalState.js +++ b/pos_event_sale/static/src/js/models/PosGlobalState.js @@ -14,7 +14,6 @@ odoo.define("pos_event_sale.models", function (require) { // Extend the Pos global state to load events const PosEventSalePosGlobalState = (PosGlobalState) => class extends PosGlobalState { - async _processData(loadedData) { await super._processData(loadedData); this._loadEventEvent(loadedData["event.event"]);