mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-18 17:15:04 +00:00
[Fix] Original Invoice outstanding is not updating after making Debit Note (#14821)
This commit is contained in:
committed by
Nabin Hait
parent
686284261d
commit
839320dca5
@@ -334,7 +334,7 @@ class PurchaseInvoice(BuyingController):
|
||||
|
||||
if update_outstanding == "No":
|
||||
update_outstanding_amt(self.credit_to, "Supplier", self.supplier,
|
||||
self.doctype, self.return_against if cint(self.is_return and self.return_against) else self.name)
|
||||
self.doctype, self.return_against if cint(self.is_return) and self.return_against else self.name)
|
||||
|
||||
if repost_future_gle and cint(self.update_stock) and self.auto_accounting_for_stock:
|
||||
from erpnext.controllers.stock_controller import update_gl_entries_after
|
||||
|
||||
Reference in New Issue
Block a user