mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-12 17:51:20 +00:00
refactor: set default for 'update_billed_amount_in_delivery_note'
(cherry picked from commit ee0c64215d)
This commit is contained in:
@@ -356,6 +356,7 @@ def make_return_doc(
|
||||
if doc.doctype == "Sales Invoice" or doc.doctype == "POS Invoice":
|
||||
doc.consolidated_invoice = ""
|
||||
doc.set("payments", [])
|
||||
doc.update_billed_amount_in_delivery_note = True
|
||||
for data in source.payments:
|
||||
paid_amount = 0.00
|
||||
base_paid_amount = 0.00
|
||||
|
||||
Reference in New Issue
Block a user