Added the get_multi_language_attr() function to the Mia core application, to deal with the multi-lingual attributes, and applied it in the data models.
This commit is contained in:
@ -88,7 +88,7 @@ FROM accounting_subjects AS s
|
||||
ORDER BY s.code"""))
|
||||
subjects.insert(0, Subject(
|
||||
code="0",
|
||||
title_zhtw=pgettext(
|
||||
title=pgettext(
|
||||
"Accounting|", "current assets and liabilities"),
|
||||
))
|
||||
current_subject = None
|
||||
|
Reference in New Issue
Block a user