refactor: cleanup args structure akin to some typing (#44226)

* refactor: cleanup args structure akin to some typing

this clarification is a human precondition to being able to fix https://github.com/frappe/erpnext/issues/44219

* chore: excempt previous commit from git blame

* fix: adapt signature
This commit is contained in:
David Arnold
2024-11-19 23:27:57 +01:00
committed by GitHub
parent a9bb6b9970
commit daabe847b0
9 changed files with 467 additions and 399 deletions

View File

@@ -860,7 +860,7 @@ def make_material_request(source_name, target_doc=None):
)
target.rate = flt(
get_price_list_rate(args=args, item_doc=frappe.get_cached_doc("Item", target.item_code)).get(
get_price_list_rate(args, item_doc=frappe.get_cached_doc("Item", target.item_code)).get(
"price_list_rate"
)
)