From 1f1309d00f2a28d2b1316659183e25ae154729da Mon Sep 17 00:00:00 2001 From: Bhavesh Heliconia Date: Mon, 30 Dec 2024 18:01:47 +0530 Subject: [PATCH] [IMP] account_invoice_warn_message: pre-commit auto fixes --- account_invoice_warn_message/models/account_move.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_invoice_warn_message/models/account_move.py b/account_invoice_warn_message/models/account_move.py index 5ffc0bf0e15..dd39f926d9e 100644 --- a/account_invoice_warn_message/models/account_move.py +++ b/account_invoice_warn_message/models/account_move.py @@ -28,7 +28,7 @@ def _compute_invoice_warn_msg(self): ): rec.invoice_warn_msg = rec.partner_id.parent_id.invoice_warn_msg if rec.partner_id.invoice_warn == "warning": - rec.invoice_warn_msg += "\n%s" % rec.partner_id.invoice_warn_msg + rec.invoice_warn_msg += f"\n{rec.partner_id.invoice_warn_msg}" continue elif rec.partner_id.invoice_warn == "warning": rec.invoice_warn_msg = rec.partner_id.invoice_warn_msg