fix: get_value doesn't support named plucking

This commit is contained in:
Ankush Menat
2025-06-04 15:55:53 +05:30
parent 9870dd26f7
commit c06a361348

View File

@@ -233,7 +233,7 @@ def get_cost_center_allocation_data(company, posting_date, cost_center):
"valid_from": ("<=", posting_date),
"main_cost_center": cost_center,
},
pluck="name",
pluck=True,
order_by="valid_from desc",
)