fix: add labels for translation in sales_order_analysis.py

(cherry picked from commit 8a554a5538)
This commit is contained in:
mahsem
2024-12-05 16:40:00 +01:00
committed by Mergify
parent e2aedc85b4
commit bad1b2a164

View File

@@ -199,7 +199,7 @@ def prepare_data(data, so_elapsed_time, filters):
def prepare_chart_data(pending, completed):
labels = ["Amount to Bill", "Billed Amount"]
labels = [_("Amount to Bill"), _("Billed Amount")]
return {
"data": {"labels": labels, "datasets": [{"values": [pending, completed]}]},