mirror of
https://github.com/frappe/erpnext.git
synced 2026-10-29 22:57:42 +00:00
fix: get_value doesn't support named plucking
(cherry picked from commit c06a361348)
This commit is contained in:
committed by
Mihir Kandoi
parent
ca555b7341
commit
c3c90ecb20
@@ -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",
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user