mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-02 21:18:27 +00:00
fix: re-calculate outstanding / write-off amount during submission
(cherry picked from commit 09c9ac1b66)
This commit is contained in:
@@ -853,7 +853,6 @@ class calculate_taxes_and_totals:
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
if self.doc.docstatus.is_draft():
|
|
||||||
if self.doc.get("write_off_outstanding_amount_automatically"):
|
if self.doc.get("write_off_outstanding_amount_automatically"):
|
||||||
self.doc.write_off_amount = 0
|
self.doc.write_off_amount = 0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user