mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-21 15:48:29 +00:00
get_pricing_rule_for_item uses the "stock_qty" and "qty" arguments to filter pricing rules. Not passing stock_qty prevents for example the shopping cart from filtering pricing rules appropriately based on Quantity.
Common utilities / DocTypes.