fix: maintain existing discounts in get_pricing_rule_for_item by Sanket322 [frappe] PR#45345
From: https://github.com/frappe/erpnext/pull/45345
Date: 2025-01-23 11:55:12+05:30
- fix: remove applied pricing rule
- fix: use user defined discount amount or default
Checkout instructions
# Checkout locally
git fetch upstream
git switch ft-pr-45345
# Alternatively, re-take the changes
git switch develop
ft take ft-pr-45345
# Make changes then rebase
git rebase -i develop
# Fix or ignore conflicts
git checkout --theirs .
git rebase --continue
# Force-push changes
git push --force-with-lease