From 417fc6518d07a7bddf4c031bd97f73a53eba51f3 Mon Sep 17 00:00:00 2001 From: Ruben Ortlam Date: Mon, 11 Dec 2023 14:09:24 +0100 Subject: [PATCH] Fix black --- phone_validation_e164/controllers/main.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/phone_validation_e164/controllers/main.py b/phone_validation_e164/controllers/main.py index 30fc9913..92241f9c 100644 --- a/phone_validation_e164/controllers/main.py +++ b/phone_validation_e164/controllers/main.py @@ -17,9 +17,7 @@ class WebsiteSaleExt(WebsiteSale): ) def address(self, **kw): if "submitted" in kw and kw.get("phone") and kw.get("country_id"): - country_id = request.env["res.country"].browse( - int(kw["country_id"]) - ) + country_id = request.env["res.country"].browse(int(kw["country_id"])) formated_vals = phone_format( kw.get("phone"), country_id.code if country_id else None,