Merge pull request #1019 from akhileshdarjee/1310
[fix] [minor] fixed landed cost wizard for cancel_pr()
diff --git a/stock/doctype/landed_cost_wizard/landed_cost_wizard.py b/stock/doctype/landed_cost_wizard/landed_cost_wizard.py
index 89a3b81..071e1dd 100644
--- a/stock/doctype/landed_cost_wizard/landed_cost_wizard.py
+++ b/stock/doctype/landed_cost_wizard/landed_cost_wizard.py
@@ -84,7 +84,7 @@
for pr in purchase_receipts:
pr_bean = webnotes.bean("Purchase Receipt", pr)
- pr_bean.run_method("update_ordered_qty", is_cancelled="Yes")
+ pr_bean.run_method("update_ordered_qty")
webnotes.conn.sql("""delete from `tabStock Ledger Entry`
where voucher_type='Purchase Receipt' and voucher_no=%s""", pr)