fix: PO cancel post advance payment cancel against PO
(cherry picked from commit d806e32030)
# Conflicts:
# erpnext/buying/doctype/purchase_order/purchase_order.py
This commit is contained in:
@@ -323,6 +323,10 @@ class PurchaseOrder(BuyingController):
|
||||
update_linked_doc(self.doctype, self.name, self.inter_company_order_reference)
|
||||
|
||||
def on_cancel(self):
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
self.ignore_linked_doctypes = ("GL Entry", "Payment Ledger Entry")
|
||||
>>>>>>> d806e32030 (fix: PO cancel post advance payment cancel against PO)
|
||||
super(PurchaseOrder, self).on_cancel()
|
||||
|
||||
if self.is_against_so():
|
||||
|
||||
Reference in New Issue
Block a user