fix: error messsage indent fix
This commit is contained in:
parent
d3157c9347
commit
b6cf75d2a8
@ -78,7 +78,7 @@ def get_fiscal_years(transaction_date=None, fiscal_year=None, label="Date", verb
|
|||||||
else:
|
else:
|
||||||
return ((fy.name, fy.year_start_date, fy.year_end_date),)
|
return ((fy.name, fy.year_start_date, fy.year_end_date),)
|
||||||
|
|
||||||
error_msg = _("""{0} {1} not in any active Fiscal Year""").format(label, formatdate(transaction_date))
|
error_msg = _("""{0} {1} not in any active Fiscal Year""").format(label, formatdate(transaction_date))
|
||||||
if company:
|
if company:
|
||||||
error_msg = _("""{0} for {1}""").format(error_msg, company)
|
error_msg = _("""{0} for {1}""").format(error_msg, company)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user