mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-05 14:38:26 +00:00
feat: unlink advance payment entry on cancelation of order
This commit is contained in:
@@ -531,6 +531,8 @@ class BuyingController(StockController):
|
||||
update_last_purchase_rate(self, is_submit = 1)
|
||||
|
||||
def on_cancel(self):
|
||||
super(BuyingController, self).on_cancel()
|
||||
|
||||
if self.get('is_return'):
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user