mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-13 07:18:27 +00:00
fix(indentation): sales_and_purchase_return.py
This commit is contained in:
@@ -220,7 +220,7 @@ def make_return_doc(doctype, source_name, target_doc=None):
|
||||
tax.tax_amount = -1 * tax.tax_amount
|
||||
|
||||
if doc.get("is_return"):
|
||||
if doc.doctype == 'Sales Invoice':
|
||||
if doc.doctype == 'Sales Invoice':
|
||||
doc.set('payments', [])
|
||||
for data in source.payments:
|
||||
paid_amount = 0.00
|
||||
|
||||
Reference in New Issue
Block a user