Skip to content

Commit 6980d1e

Browse files
mahsemmergify[bot]
authored andcommitted
fix: add labels for translation in sales_order_analysis.py
(cherry picked from commit 8a554a5)
1 parent 06ac21d commit 6980d1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

erpnext/selling/report/sales_order_analysis/sales_order_analysis.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def prepare_data(data, so_elapsed_time, filters):
206206

207207

208208
def prepare_chart_data(pending, completed):
209-
labels = ["Amount to Bill", "Billed Amount"]
209+
labels = [_("Amount to Bill"), _("Billed Amount")]
210210

211211
return {
212212
"data": {"labels": labels, "datasets": [{"values": [pending, completed]}]},

0 commit comments

Comments
 (0)