[fix] fixed landed cost wizard for cancel_pr()
This commit is contained in:
parent
04f65a0c56
commit
e3af1eaf47
@ -84,7 +84,7 @@ class DocType:
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user