Merge pull request #30664 from frappe/mergify/bp/develop/pr-30662
fix: Implicit ignore pricing rule check on returns (backport #30662)
This commit is contained in:
commit
5ac3e7e16e
@ -330,7 +330,6 @@ def make_return_doc(doctype, source_name, target_doc=None):
|
|||||||
doc = frappe.get_doc(target)
|
doc = frappe.get_doc(target)
|
||||||
doc.is_return = 1
|
doc.is_return = 1
|
||||||
doc.return_against = source.name
|
doc.return_against = source.name
|
||||||
doc.ignore_pricing_rule = 1
|
|
||||||
doc.set_warehouse = ""
|
doc.set_warehouse = ""
|
||||||
if doctype == "Sales Invoice" or doctype == "POS Invoice":
|
if doctype == "Sales Invoice" or doctype == "POS Invoice":
|
||||||
doc.is_pos = source.is_pos
|
doc.is_pos = source.is_pos
|
||||||
|
Loading…
x
Reference in New Issue
Block a user