Skip to content

Commit

Permalink
[IMP] account_invoice_warn_message: pre-commit auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
HeliconiaSolutions committed Dec 30, 2024
1 parent 0bb7db5 commit 1f1309d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion account_invoice_warn_message/models/account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1f1309d

Please sign in to comment.