fix: improve invalid naming series message (#19711)
* fix: show the invalid naming series in special chars error msg * chore: translations [skip ci]
This commit is contained in:
parent
0e6e2609b5
commit
6554919f1e
1 changed files with 2 additions and 2 deletions
|
|
@ -59,8 +59,8 @@ class NamingSeries:
|
|||
if not NAMING_SERIES_PATTERN.match(self.series):
|
||||
frappe.throw(
|
||||
_(
|
||||
'Special Characters except "-", "#", ".", "/", "{" and "}" not allowed in naming series',
|
||||
),
|
||||
"Special Characters except '-', '#', '.', '/', '{{' and '}}' not allowed in naming series {0}"
|
||||
).format(frappe.bold(self.series)),
|
||||
exc=InvalidNamingSeriesError,
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue