Skip to content

Commit

Permalink
Merge pull request #30664 from frappe/mergify/bp/develop/pr-30662
Browse files Browse the repository at this point in the history
fix: Implicit ignore pricing rule check on returns (backport #30662)
  • Loading branch information
deepeshgarg007 authored Apr 10, 2022
2 parents 207bf85 + a2937cf commit 5ac3e7e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion erpnext/controllers/sales_and_purchase_return.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,6 @@ def set_missing_values(source, target):
doc = frappe.get_doc(target)
doc.is_return = 1
doc.return_against = source.name
doc.ignore_pricing_rule = 1
doc.set_warehouse = ""
if doctype == "Sales Invoice" or doctype == "POS Invoice":
doc.is_pos = source.is_pos
Expand Down

0 comments on commit 5ac3e7e

Please sign in to comment.