fix: add labels for translation in sales_order_analysis.py

This commit is contained in:
mahsem
2024-12-05 16:40:00 +01:00
committed by GitHub
parent 1ac292285e
commit 8a554a5538

View File

@@ -206,7 +206,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]}]},