mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-25 04:53:01 +00:00
get_requested_amount multiplied the pooled pending qty of all matching Material Request items by a single Max(rate), fabricating the total whenever rates differ and biasing it upward - making false Budget Exceeded stops more likely. Sum (stock_qty - ordered_qty) * rate per row instead, matching get_ordered_amount.
15 KiB
15 KiB