fix: Implicit ignore pricing rule check on returns

This commit is contained in:
Deepesh Garg
2022-04-09 19:20:51 +05:30
parent 341e8dffd3
commit 1b25a7fe76

View File

@@ -330,7 +330,6 @@ def make_return_doc(doctype, source_name, target_doc=None):
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