Replaced "Need offset" with "Needs Offset" as the text of the badge.

This commit is contained in:
2023-03-20 22:43:53 +08:00
parent 9a4531b26c
commit 50dd6078c7
4 changed files with 4 additions and 4 deletions

View File

@ -98,7 +98,7 @@ class LineItemCollector:
Account.title_l10n.contains(k),
code.contains(k),
Account.id.in_(select_l10n)]
if k in gettext("Need offset"):
if k in gettext("Needs Offset"):
conditions.append(Account.is_need_offset)
return sa.select(Account.id).filter(sa.or_(*conditions))