mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 18:59:08 +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
|
tax.tax_amount = -1 * tax.tax_amount
|
||||||
|
|
||||||
if doc.get("is_return"):
|
if doc.get("is_return"):
|
||||||
if doc.doctype == 'Sales Invoice':
|
if doc.doctype == 'Sales Invoice':
|
||||||
doc.set('payments', [])
|
doc.set('payments', [])
|
||||||
for data in source.payments:
|
for data in source.payments:
|
||||||
paid_amount = 0.00
|
paid_amount = 0.00
|
||||||
|
|||||||
Reference in New Issue
Block a user