fix: get_value doesn't support named plucking

(cherry picked from commit c06a361348)
This commit is contained in:
Ankush Menat
2026-10-24 21:17:43 +05:30
committed by Mihir Kandoi
parent ca555b7341
commit c3c90ecb20
+1 -1
View File
@@ -240,7 +240,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",
)