chore: translatable strings

(cherry picked from commit 121798ba85)
This commit is contained in:
ruthra kumar
2025-03-11 16:55:04 +05:30
committed by Mergify
parent 229f4d3d92
commit 31dc6021e2

View File

@@ -263,7 +263,7 @@ def sales_invoice_validate(doc):
doc.company_fiscal_code = frappe.get_cached_value("Company", doc.company, "fiscal_code")
if not doc.company_tax_id or not doc.company_fiscal_code:
frappe.throw(
_(f"Please set both the Tax ID and Fiscal Code on Company {doc.company}"),
_("Please set both the Tax ID and Fiscal Code on Company {0}").format(doc.company),
title=_("E-Invoicing Information Missing"),
)
# Validate customer details